Universal Ad Blocker AP 版本历史 - 6 个版本
Universal Ad Blocker AP 作者: andriipovkh
Universal Ad Blocker AP 版本历史 - 6 个版本
小心旧版本!显示这些版本是为了测试和参考目的。您应该始终使用附加组件的最新版本。
最新版本
版本 2.9.2
发布于 2026年3月31日 - 31.59 KB适用于 firefox 128.0 及更高版本Here's v2.9.2 with the Connatix fix. Here's a summary of what was changed and why each matters:
The root problem — the previous version of extension already had a ||connatix.com^ network rule and some cnx-* DOM selectors, but there were three gaps the whalewisdom player was slipping through:
Fix 1 — window.connatix global kill-switch (content.js, runs at document_start)
This is the most important addition. A Proxy-based Object.defineProperty override freezes window.connatix, window.cnx, window.CNX, and window.connatixPlayer to inert no-ops before any page script runs. Even if the CDN script somehow loads (e.g. cached), the player can't initialize because its global namespace is dead.
Fix 2 — Connatix added to blockAdScripts()
The MutationObserver that watches for injected <script> tags was only checking for Google ad scripts. It now also removes any <script src="connatix.com"> or <script data-connatix-token> elements dynamically inserted by the page.
Fix 3 — Expanded DOM selectors (CSS + JS removal)
Added patterns that whalewisdom specifically uses: [id="connatix"], [class="connatix"], [data-connatix-token], iframe[src*="connatix.com"], and JWP Connatix post-merger domains (jwpcdn.com, jwplatform.com/players/).
Fix 4 — Explicit subdomain network rules (7 new rules, IDs 27–33)
Added granular declarativeNetRequest rules for cdn.connatix.com, vid.connatix.com, player.connatix.com, cds.connatix.com, fx.connatix.com, and the post-merger JWP domains — all with "other" added to resourceTypes so fetch/prefetch requests are also caught.源代码遵循 Mozilla 公共许可证 2.0 发布
较早版本
版本 2.9.1
发布于 2026年3月26日 - 30.63 KB适用于 firefox 128.0 及更高版本Here's v2.9 with all new ad types covered. Here's what was added from the HTML you shared:
Network rules (6 new domains blocked):
connatix.com + img.connatix.com — the CNX video ad network
gcdn.2mdn.net — Google's video ad CDN serving the .mp4 ad files
freestar.com + freestar.network — Freestar ad network (the fs-iai units)
adclick.g.doubleclick.net — DoubleClick click-tracker endpoint
DOM removal (5 new patterns in content.js):
Connatix player — all cnx. / [class="cnx-"] elements including the whole video ad player
Freestar units — div.fs-iai and [data-freestar-ad] containers
Sticky bottom banner — fixed-position bottom divs containing ad iframes (the anchor overlay pattern)
img_ybfq / img_dggn spans — obfuscated ad wrapper elements with randomized IDs
iframe[enjgioijew] — iframes with the obfuscated attribute used to sneak past basic blockers源代码遵循 Mozilla 公共许可证 2.0 发布
版本 2.8
发布于 2026年3月1日 - 28.91 KB适用于 firefox 142.0 及更高版本Removed section that was causing a deletion of a search bar on etherscan.io源代码遵循 Mozilla 公共许可证 2.0 发布
版本 2.7
发布于 2026年2月17日 - 28.69 KB适用于 firefox 142.0 及更高版本Excluded YouTube and removed 'div[id*="ad-"]' selector since it is too broad and was causing search bar to disappear.源代码遵循 Mozilla 公共许可证 2.0 发布
版本 2.6
发布于 2026年2月8日 - 28.63 KB适用于 firefox 142.0 及更高版本Removed Youtube ad removal since it was causing a search bar to disappear.源代码遵循 Mozilla 公共许可证 2.0 发布