Greasy Fork is available in English.

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.

< Feedback on 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.

جاۋاب قايتۇرۇش

جاۋاب قايتۇرۇش ئۈچۈن كىرىش.