Bypass YouTube's ad blocker detection, skip ads seamlessly, and notify if the script needs updating or stops working.
コードが変更されたバージョンのみを表示しています。 すべてのバージョンを表示
Updated Features 1. Notification System: Real-time notifications for script actions, errors, and update availability. 2. Health Monitoring: Periodic checks to ensure the script is working correctly and skipping ads. 3. Automatic Update Alerts: Notifies users when a new version of the script is available for download. 4. Enhanced Error Handling: Alerts users if the script encounters issues or stops functioning. 5. Improved Logging: Detailed console logs for tracking skipped ads, removed elements, and errors. 6. Ad-Skipping Enhancements: Automatically mutes unskippable ads and removes overlays for smoother playback. 7. Resource Efficiency: Observers disconnect after prolonged inactivity to save browser resources.
What’s Improved in the Fixed Version? 1. Selective Targeting: • The script now checks if ytd-popup-container contains “ad blocker” related content before removing it. • This prevents interference with notifications and other valid popups. 2. Optimized DOM Observers: • The MutationObserver now processes only newly added nodes instead of blindly scanning the DOM. • This improves performance and reduces CPU usage. 3. Safer Ad Skipping: • Ads are skipped and removed only when matching specific ad selectors. • Ensures that no unrelated elements are affected. 4. Improved Resource Management: • Observers automatically disconnect after 5 minutes, reducing resource consumption for users who keep YouTube open for long sessions. 5. Better Logging: • Added clear console logs for each action, making it easier to debug and understand what the script is doing.
1. Overlay Removal: • Targets and removes YouTube’s anti-ad blocker overlay dynamically using DOM observation. 2. Ad Skipping: • Automatically skips video ads, closes overlay ads, and removes banner ads. 3. Dynamic Monitoring: • Observes DOM changes in real time to address new ads or overlays.
1. Randomized Delays: Introduces random timing for initialization to mimic human behavior. 2. Simplified and Stealthy: Reduces the frequency of console logs and minimizes the script’s footprint to avoid detection. 3. Debounced Actions: Limits DOM manipulations to improve performance and reduce chances of being flagged. 4. Avoids Over-Customization: Focuses only on critical ad-blocking features without excessive dependencies.
Key Changes: 1. Fetch Request Handling: • Improved URL extraction to handle Request objects passed to fetch. 2. Throttling: • Introduced throttle to limit how often removeAdElements runs, reducing strain on the browser. 3. MutationObserver Optimization: • Added a timeout to disconnect the observer after a reasonable duration, improving performance in long browsing sessions. 4. DOMContentLoaded Listener: • Ensures the listener runs only once using the { once: true } option. 5. Performance Logging: • Logs messages to the console for monitoring script actions and performance.