Greasy Fork is available in English.
Automatically hides posts in your Reddit feed based on keywords or subreddits you specify
Dessa är versionerna av skriptet där koden uppdaterades. Visa alla versioner.
Updated the description
Counter Updates-Removed requestAnimationFrame wrapper around counter updates-Moved counter increment outside async operations-Added requestIdleCallback for non-blocking updates-Implemented batch processing with 16ms debounce timerPerformance Improvements-Increased batch size from 5 to 10 posts-Added pending updates tracking-Implemented periodic cleanup of counter updates-Aligned updates with browser refresh rateThese changes make the filtered post counter more responsive and reduce UI freezing when processing large numbers of posts
Optimizations
Optimized for Firefox-based browsers (which shouldn't affect Chromium-based browsers)
I renamed the userscript to better-reflect its functionality and added the ability to filter specific subreddits out of the feeds such as r/all
1. Enhanced Keyword Matching: The script now automatically filters out common plural forms of your specified keywords2. Updated configuration menu3. Updated userscript icon
Bugfix
1. Performance Optimizations:- Added cached selectors (POST_SELECTORS and CONTENT_SELECTORS) to reduce repeated DOM queries- Implemented debouncing for post processing to prevent excessive function calls- Added a process queue system using requestIdleCallback for better CPU utilization2. Preloading Feature:- Added preloadPosts() function to fetch and parse the next page of content before it's needed- Implemented error handling for the preloading functionality3. Memory Management:- Added a cleanup interval that removes references to posts no longer in the DOM- Improved the WeakSet implementation for better garbage collection4. Code Structure:- Reorganized the code into more logical sections- Added better error handling throughout the script- Improved the initialization process with better state management
Added @icon to the userscript
Changed the name
Optamized the blocking logic and fixed the Configure button