O

Older-Mature.net 广告清理 (Ad Cleaner)

建立於 9 天前
更新於 9 天前
隐藏右下角 video-slider 广告 (click_vl_*)、trudigo LIVE 直播 (#ajopr)、whitetrafsa LIVE 直播网格、内容区横幅。三层防御:GM_addStyle 主力 + 源头拦截广告脚本/iframe + DOM 清理兜底。
#广告过滤
#网站广告屏蔽
#DOM清理
資料統計
總安裝量
55
近 24 小時
+3
使用者評分
-
针对 older-mature.net 的三层广告过滤脚本,拦截 ExoClick、trudigo、whitetrafs

Older-Mature.net Ad Cleaner

A userscript (Tampermonkey / ScriptCat) that strips ads from older-mature.net — the bottom-right video slider (click_vl_*), the trudigo LIVE ad, the whitetrafsa LIVE grid, in-content banners, and in-page push notifications.

It uses GM_addStyle as the primary layer and adds two more (source blocking + DOM cleanup) to handle ads whose container IDs are randomized and can't be caught by CSS alone.

Install

  1. Install a userscript manager: Tampermonkey or ScriptCat.
  2. Drag older-mature-adcleaner.user.js into the manager, or create a new script and paste the contents.
  3. Visit https://www.older-mature.net/ — ads are gone.

@match covers both www.older-mature.net and the bare domain.

How it works — three layers

Layer Mechanism What it handles
L1 — CSS (GM_addStyle) display:none !important on known selectors click_vl_*, #ajopr, gorillatraffic iframes, push cards
L2 — Source blocking Patches the src setter on <script>/<iframe>; assignments matching an ad domain are dropped whitetrafsa LIVE grid, trudigo, ExoClick, etc. — kills ads before they render
L3 — DOM cleanup MutationObserver + subtree scan; when a click_vl_* node appears, walks up to the position:fixed slider root and hides the whole thing already-injected ads with random container IDs

Runs at document-start so L1/L2 are in place before the page's ad scripts load.

Why L2 exists: the whitetrafsa LIVE widget is injected by a.realsrv.com/nativeads-v2.js into a container with an unpredictable ID. CSS can't target it reliably, so the script refuses to load its scripts in the first place.

Configuration

Edit the CFG object at the top of the script:

const CFG = {
    sourceBlock:  true,  // block ad-domain script/iframe loads
    hideLiveAd:   true,  // trudigo LIVE container (#ajopr)
    hideSlider:   true,  // bottom-right video slider (click_vl_*)
    hideBanners:  true,  // in-content / top banner iframes
    hidePush:     true,  // acscdn / adexchangerapid in-page push
    debug:        false, // log every cleanup to the console
};

Flip debug: true to see what's being removed if something looks off.

Ad networks blocked

Discovered from live network traffic on the site:

  • ExoClickads.exoclick.com, a.realsrv.com, syndication.realsrv.com, a.pemsrv.com
  • trudigolive.trudigo.com (LIVE stream → #ajopr), adMoxyCtrl videoslider (bottom-right → click_vl_*)
  • whitetrafsacreative.whitetrafsa.com, go.whitetrafsa.com (2×2 LIVE grid, injected via realsrv)
  • gorillatraffic.xyz — in-content banner iframes
  • acscdn / adexchangerapid — in-page push notifications
  • Plus trafficstars, juicyads, popcash as a safety net.

Known limitation

Popunders (pemsrv.com popMagic) hijack click events rather than rendering a DOM element, so CSS / DOM cleanup can't fully stop them. If you still get popunders, install uBlock Origin alongside this script.

Verification

Logic was validated against the live page with Chrome DevTools:

  • Real gorillatraffic iframes → hidden (display: none)
  • Constructed click_vl_0_content inside a position:fixed slider → whole root hidden
  • Constructed whitetrafsa iframe → src blocked, never loads
  • Same-origin links → untouched (no false positives)

License

MIT

腳本詳情
適用網站
授權協議MIT