It seems related to your /js/ads-controller.js file (it gets blocked because of the "/js/ads-" portion in the path).
I would suggest fixing that (and preferably minimizing your JS into one bundle).
It seems related to your /js/ads-controller.js file (it gets blocked because of the "/js/ads-" portion in the path).
I would suggest fixing that (and preferably minimizing your JS into one bundle).
You can't test against ad blockers (or virus scanners) because the lists keep changing, so you end up applying ridiculous alchemy like not calling your API endpoints "/analysis" but "/computation" and then you just hope for the best.
In the grand scheme of things, I agree that the people behind ad blockers are fighting the good fight, but in practice it's become a cat-and-mouse game of "who can break the internet the most". I don't know a solution.
Maybe change "ads" to "posts" globally in the frontend?
Adblockers are are always going to block anything called "ads", even if it's a legit component of your site
e.g.
/js/1476929634/myscript.js instead of /js/myscript.js
Then use your webserver to rewrite /js/<any number>/myscript.js to /js/myscript.js
Plus, once it's configured you never have to worry about it again.
import hashlib as h
int(h.sha256(b" ").hexdigest(), 16)
>
24725091799402603688614593151141908335745916334489781770578761787218146381928 h.sha256(b" ").hexdigest()
> 36a9e7f1c95b82ffb99743e0c5c4ce95d83c9a430aac59f84ef3cbfab6145068It's longer, but even a 256-hash isn't that long? (and sha1 would probably be fine, obviously)
We never understood why certain pull requests wouldn't load in Atlassian Stash/BitBucket Server - turns out our adblocker was blocking the page from loading due to having "ad" in the title.
Your code in each js file seems self-contained, so a simple in-order file concatenation into one .js file as a build step would help. gulp and gulp-concat would do it in a few lines of node, and you'd push the built output to your site.
If you end up wrting so much script that a concatenation approach stops scaling, look into webpack and web modules.
"Wait all descriptors containing the letters 'ad' are ignored?"
"Madness."
"This is HTML!"
Blocked by ad blocker.
Can't they just stick to blocking domain regexes instead of actually breaking the web?
I don't understand the crusade against people not using ad blockers by the way. I believe I have good reasons not to. Why do people seem to have a problem with that?