Assassinate Ad Block Blockers

You know those annoying content blockers that demand you remove your AdBlock so you can read the content? This script removes them by force. Please note, this is not automatically universal like AdBlock Plus. It operates on a per-site basis that the author must add.

< 脚本Assassinate Ad Block Blockers的反馈

提问/评论

§
发表于:2020-05-06

Yahoo Mail

Yahoo recently started to detect an ad blocker. Refreshing the page bypasses it but it will pop up again randomly. Please add mail.yahoo.com if possible

Thanks for your efforts

Kxmode作者
§
发表于:2020-05-08

Added to the list. No ETA. Thanks!

Kxmode作者
§
发表于:2020-05-08
编辑于:2020-05-08

Hi. So I logged into my mail.yahoo.com account with Adblock Plus enabled and didn't see what you see. Are you using AdBlock or Adblock Plus?

Kxmode作者
§
发表于:2020-05-08

Oh. I see it now. https://i.imgur.com/2AR8W9p.jpg

Working on it.

Kxmode作者
§
发表于:2020-05-08
编辑于:2020-05-08

Yahoo has a Content-Security-Policy in place that blocks externals scripts from executing on mail.yahoo.com. They've put all resources they load behind a group of about 21 domains that their Content-Security-Policy allows. Yahoo owns all those domains. From what I observed, Yahoo doesn't use jQuery, so it is not like I can bypass the script load and use theirs. I gave it an hour and determined my script cannot run on this domain.

Kxmode作者
§
发表于:2020-05-08
编辑于:2020-05-08

As a follow-up, the thought had occurred to me that I might want to convert the script over to pure JavaScript so that it is not reliant on jQuery. DOM selection is effortless in Jquery than pure JavaScript. Its library provides me with the ability to quickly do things that would otherwise take longer in pure JavaScript. That said, I'm certain Yahoo's Content-Security-Policy would have still blocked my script from executing regardless of its reliance on jQuery.

发表回复

登录(不可用)以发表回复。

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址