YouTube Ad Skipper
Author: Gurveer (@Gurveer)
Version: 1.0.0
License: All Rights Reserved
Copyright: © 2025 Gurveer. All rights reserved.
Description
A powerful Tampermonkey/Greasemonkey userscript that automatically skips YouTube ads and blocks ad elements across the platform.
Features
- ⚡ Instant Ad Skipping - Automatically skips both skippable and non-skippable ads
- 🛡️ Interface Ad Blocking - Removes ad elements from the YouTube interface
- ⚙️ Customizable Settings - Configure behavior to your preferences
- 📊 Statistics Tracking - Monitor blocked and skipped ads
- 🔇 Smart Muting - Automatically mutes ads and restores audio
- ⌨️ Keyboard Shortcuts - Quick access to settings and stats
- 🔔 Notifications - Get notified when ads are skipped
- 🚀 Performance Optimized - Minimal impact on page performance
Installation
- Install a userscript manager:
Usage
Keyboard Shortcuts
- Ctrl+Shift+A - Open/close settings panel
- Ctrl+Shift+S - Toggle statistics display
Settings
Access the settings panel using Ctrl+Shift+A or wait for the script to initialize. Available options:
- Auto-unmute after ads - Automatically restore audio after ads
- Speed up ads (16x) - Fast-forward through ads (experimental)
- Show statistics - Display ad blocking statistics
- Show notifications - Show toast notifications when ads are skipped
- Debug mode - Enable console logging for troubleshooting
How It Works
- CSS Ad Blocking - Injects styles to hide ad elements
- Video Ad Detection - Monitors video player for ad indicators
- Automatic Skipping - Clicks skip buttons or forces video to end
- State Management - Saves and restores video state (volume, mute)
- Popup Blocking - Removes premium upgrade popups
Compatibility
- ✅ YouTube (www.youtube.com)
- ✅ YouTube Mobile (m.youtube.com)
- ✅ YouTube Music (music.youtube.com)
- ❌ YouTube Studio (excluded)
Troubleshooting
If ads are not being skipped:
- Enable Debug mode in settings
- Open browser console (F12)
- Look for
[Ad Skipper] log messages
- Check if video element is detected
- Verify ad detection indicators
Known Limitations
- Some ads may take 1-2 seconds to skip due to cooldown mechanism
- Speed up ads feature may not work on all ad types
- YouTube may update their ad system, requiring script updates
Privacy
This script:
- ✅ Runs entirely in your browser
- ✅ Does not collect or transmit any data
- ✅ Does not require any special permissions
- ✅ Stores settings locally in your browser
Legal Notice
This software is provided "as is" without warranty of any kind. Use at your own risk. The author is not responsible for any consequences of using this script.
All Rights Reserved - This code is proprietary and confidential. Unauthorized copying, distribution, or modification is strictly prohibited without explicit permission from the author.
Copyright
© 2025 Gurveer (@Gurveer). All rights reserved.
Note: This script is for educational purposes. Please support content creators by watching ads or subscribing to YouTube Premium.