max / Basic Ad Blocker & Anti-Adblock Defeater (UserScript)

安装步骤: 先安装脚本管理器,再点“安装”,最后打开脚本适用的网站。

用户脚本新手指南 Chrome Edge Firefox

发布时间:

版本: 2.1+a9b8995 更新于

摘要: A basic UserScript to attempt blocking common ads, including pop-up video ads and unwanted new tab redirects, and some anti-adblock detection methods.

许可证: MIT

反功能: 未说明

脚本来源与更新状态

以下数据来自原始来源,与本站收到的安装请求分开统计。

原始脚本: Basic Ad Blocker & Anti-Adblock Defeater (UserScript)

来源版本: 2.1

最近来源检查:

最近成功检查:

来源站日安装量
0
来源站总安装量
0
本站安装请求
0

本站收到的请求不代表用户已完成安装。

点击安装只表示本站收到安装请求,不代表安装已完成。 安装后无法使用?查看问题反馈与排查

Basic UserScript Ad Blocker

A simple UserScript to block ads, pop-ups, video ads, and bypass basic anti-adblock detection across websites.

License: MIT

Key Features:

  • Ad Element Hiding: Removes banners, sidebars, and ad containers using CSS selectors.
  • Video Ad Blocker: Stops video ads by pausing, clearing, and removing video elements.
  • Pop-up/Redirect Block: Overrides window.open to block new tab redirects from known ad domains.
  • Anti-Adblock Bypass: Tricks basic adblock detectors by altering JavaScript variables and element properties.
  • Dynamic Ad Blocking: Uses MutationObserver to catch ads injected after page load.

How It Works:

  • Runs at page start to apply blocks early.
  • Hides ads instantly with injected CSS.
  • Monitors page for new ads continuously.
  • Blocks pop-unders and anti-adblock scripts before they trigger.

Important: This script offers basic protection. For stronger, network-level ad blocking, use extensions like uBlock Origin or AdGuard.

Installation Guide:

  1. Install Tampermonkey (Chrome, Edge, Firefox, Safari) or Greasemonkey (Firefox).
  2. Create a new script in the extension.
  3. Delete boilerplate code.
  4. Paste the full script code (including // ==UserScript== headers).
  5. Save and enable it. It will work automatically on supported sites.

评分: 0