Older-Mature.net 广告清理 (Ad Cleaner)
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
- Install a userscript manager: Tampermonkey or ScriptCat.
- Drag
older-mature-adcleaner.user.jsinto the manager, or create a new script and paste the contents. - 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.jsinto 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:
- ExoClick —
ads.exoclick.com,a.realsrv.com,syndication.realsrv.com,a.pemsrv.com - trudigo —
live.trudigo.com(LIVE stream →#ajopr),adMoxyCtrlvideoslider (bottom-right →click_vl_*) - whitetrafsa —
creative.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,popcashas 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_contentinside aposition:fixedslider → whole root hidden - Constructed whitetrafsa iframe →
srcblocked, never loads - Same-origin links → untouched (no false positives)
License
MIT