Content filtering for Bluesky: block keywords, enforce alt-text, and auto-whitelist followed accounts.
這裡只顯示彼此間有代碼差異的版本。 顯示所有版本。
Bugfix--It should be less aggressive at filtering now
Bugfix
Disables automatically on comments pages
Code update to better identify posts without alt-text
Alt‑Text Enforcement
Whitelist System
Expanded Filtering Capabilities
aria-label
Improved DOM Traversal
getPostContainer()
Error Fix
Code optimization
1. Optimizations-Debounced MutationObserver: The MutationObserver now uses a debounced version of processPost to reduce the frequency of DOM operations and improve performance.-Caching for Profile Data: The script caches profile data in a Map to avoid redundant network requests for the same profile.-Efficient Regular Expressions: Regular expressions for filtering terms are now compiled once and reused, improving performance.2. Bug Fixes-Fixed waitForAuth Function: The waitForAuth function was missing in the original script, causing an error. It has been added to ensure the script waits for authentication before proceeding.-Improved Error Handling: Added more robust error handling for network requests and DOM manipulations to prevent the script from breaking unexpectedly.3. Code Cleanup-Removed Unused Code: Removed unnecessary code and comments to make the script easier to read and maintain.-Consistent Debug Logging: Added consistent debug logging throughout the script to help diagnose issues.4. CSS Injection-Improved CSS Injection: The script now checks if the CSS styles are already injected before adding them to the document, avoiding duplicate styles.
-Content filtering remains active throughout the site except for the notifications page, making the script more selective about where it operates.-Userscript icon added
Some code edits
New icon
Alt-text filtering, updated description, and code cleanup
Better username filtering
1. Case-Insensitive Matching: The script now filters content regardless of whether the keywords appear in uppercase, lowercase, or a mix of both. This ensures that all variations of a word are detected and filtered appropriately.2. Plural Handling: The script automatically matches common plural forms of the keywords you specify. For example, if you add "apple" to your blocklist, it will also filter out "apples" without requiring you to add both versions manually.
More effective text cleaning for better filtering
Improved the filtering of usernames
Fixed a typo
Improved emoji filtering
Updated the filtering logic and accuracy in identifying and removing posts with blacklisted words/emojis in usernames
Updated the userscript's information and added a picture of the blocklist
土豆服务器,请按需使用
镜像地址随时可能被墙,建议加群获取最新地址
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址