Greasy Fork

Greasy Fork is available in English.

YouTube Ad-Bypass

跳过并 column 隐藏 YouTube 广告 (Tiàoguò bìng yǐncáng YouTube guǎnggào)

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Greasemonkey 油猴子Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Userscripts ,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

作者
WakeUp Neo
日安装量
24
总安装量
247
评分
0 0 0
版本
1.22
创建于
2026-04-29
更新于
2026-05-06
大小
7.0 KB
许可证
MIT
适用于

YouTube Ad-Bypass

Overview

A lightweight and high-performance userscript designed to provide a seamless viewing experience on YouTube and YouTube Music. This script focuses on two main strategies: Instantly skipping video ads and hiding intrusive UI elements (banners, overlays, and promos).

Key Features

  • 💨 Ultra-Fast Skip: Automatically speeds up the video playback to 16x and jumps to the end of the ad segment the moment it's detected.
  • 🔇 Auto-Mute: Silences the audio during ad segments to prevent sudden loud interruptions.
  • 🚫 Clean Interface: Injects optimized CSS to hide banners, masthead ads, and "Mealbar" promotions on both YouTube and YouTube Music.
  • ⚡ Modern Performance: Uses MutationObserver technology to detect ads instantly without the need for heavy background loops, ensuring minimal CPU usage.
  • 🎵 Music Support: Fully compatible with music.youtube.com.
  • 🛠️ Anti-Detection Measures: Designed to work alongside YouTube's native player logic to bypass "ad blocker detected" popups.

How it works

  1. CSS Injection: Upon page load, it applies a set of styles that render ad containers invisible and non-interfering.
  2. Player Monitoring: The script attaches an observer to the video player. Whenever the system detects an ad-showing or ad-interrupting state, the bypass logic kicks in.
  3. The Skip Loop: It identifies the skip button and clicks it automatically while simultaneously fast-forwarding the video timeline.

Technical Details

Feature Implementation
Run-at document-start (Zero delay)
License MIT
Compatibility Chrome, Firefox, Edge, Safari (via Tampermonkey/Violentmonkey)
Detection Mutation-based (Attribute tracking)