🎉 欢迎访问GreasyFork.Org 镜像站!本镜像站由公众号【爱吃馍】搭建,用于分享脚本。联系邮箱📮

Greasy fork 爱吃馍镜像

YouTube Ad Skipper @ Gurveer

Instantly skips YouTube ads (skippable & non-skippable) and blocks ad elements. Features: customizable settings, statistics tracking, keyboard shortcuts. © 2025 Gurveer. All rights reserved.

K instalaci tototo skriptu si budete muset nainstalovat rozšíření jako Tampermonkey, Greasemonkey nebo Violentmonkey.

You will need to install an extension such as Tampermonkey to install this script.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Violentmonkey.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Userscripts.

You will need to install an extension such as Tampermonkey to install this script.

K instalaci tohoto skriptu si budete muset nainstalovat manažer uživatelských skriptů.

(Už mám manažer uživatelských skriptů, nechte mě ho nainstalovat!)

🚀 安装遇到问题?关注公众号获取帮助

公众号二维码

扫码关注【爱吃馍】

回复【脚本】获取最新教程和防失联地址

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(Už mám manažer uživatelských stylů, nechte mě ho nainstalovat!)

🚀 安装遇到问题?关注公众号获取帮助

公众号二维码

扫码关注【爱吃馍】

回复【脚本】获取最新教程和防失联地址

Autor
Gurveer
Denně instalací
0
Celkem instalací
732
Hodnocení
0 0 1
Verze
9.0.0
Vytvořeno
23. 04. 2025
Aktualizováno
04. 11. 2025
Size
23,1 KB
Licence
All Rights Reserved
Spustit na

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

  1. 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

  1. CSS Ad Blocking - Injects styles to hide ad elements
  2. Video Ad Detection - Monitors video player for ad indicators
  3. Automatic Skipping - Clicks skip buttons or forces video to end
  4. State Management - Saves and restores video state (volume, mute)
  5. 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:

  1. Enable Debug mode in settings
  2. Open browser console (F12)
  3. Look for [Ad Skipper] log messages
  4. Check if video element is detected
  5. 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.