Open b3nsn0w opened 8 years ago
Hi, thank you, but your solution does not work, I also already have a solution to counter these two scripts, by cons you can try to find solution to these issues
That's strange, I never suggest untested code. In which conditions did it not work? Which adblocker did you test it with?
Also, this is not a replacement for your solution, but an additional layer of defense. For example, your fake FckAdBlock script works perfectly until the site starts renaming it, then you need to set it manually for each site. This solution, however, doesn't take out FckAdBlock by faking the library but instead tries to secure the bait and keep it intact, so even if F*ckAdBlock works, it will think the bait is unblocked. It's possible that my solution failed to defend the bait against your adblocker, that's why I'm interested in which one you used. I used Tampermonkey, uBlock, and Chrome 50.
The majority of the issues you linked have the tag "Anti-Adblock". Is that a specific plugin? Quite ironically all my search queries end up at your script (or at some random tutorials), so if it is a specific plugin, could you link the page where I could acquire it if I was a site admin who hated adblock and tried to block it?
Which adblocker did you test it with ?
Win10, Firefox, AdBlock Plus, Greasemonkey.
Also, this is not a replacement for your solution, but an additional layer of defense
Yes, your solution may be useful for custom FAB
I used Tampermonkey, uBlock, and Chrome 50
Make sure your solution also works when the option uBO Parse and enforce cosmetic filters.
is checked and unchecked. You must also test it with the following Ad-Blockers Adblock, Adblock Plus, Adguard AdBlocker
The majority of the issues you linked have the tag "Anti-Adblock". Is that a specific plugin?
For any request about new anti-adblock script, why do I call this label ?
could you link the page where I could acquire it if I was a site admin who hated adblock and tried to block it ?
It probably is but it also helps users find Aak
Just tested against FAB and BlockAdblock with Adblock, Adblock Plus, and Adguard AdBlocker on the harshest settings I could find, and uBO's parse and enforce cosmetic filters
was already turned on. I couldn't reproduce the issue in Chrome, will try again tomorrow in Firefox.
Tested on:
Result tests:
parse and enforce cosmetic filters
parse and enforce cosmetic filters
parse and enforce cosmetic filters
With firefox, I replace the document.body.appendChild( ins ) ;
by document.documentElement.appendChild( ins ) ;
, if it was not working
I've experimented a little with F*ckAdBlock and BlockAdblock (the strong one), found some ways around them not using their variables, but rather interrupting their detection process and stopping the adblocker from taking the bait. It's not a full solution, but it was tested against and defeated both of the two above, regardless how the sites customize it. I'm giving a full userscript below, but by taking (and maybe extending) only the bait variable and the contents of the loop this can be integrated into your project. Just loop it fast enough to evade the bait before they could detect you. (If I knew how this works in your code, this would be a pull request.)
I borrowed a few lines from your initial comments to test it out. Also, here you can find a slightly deobfuscated and shamelessly commented version of BlockAdblock's default code (just rename it to JS because GitHub didn't let me upload it). A bit deeper in their code than the .bab() function they have a few countermeasures, some so strong that if they start using it, userscripts may not be enough, we would need a different kind of adblocker for that. Or a service worker, hopefully, that arrives fast enough.
Also, if you know any other anti-adblock technologies, I'd be glad to trick my way through them.