News for hackers. Stuff that matters.
Re:Many major websites are taking silent anti-ad-blocking me... by lousken on Thursday December 28, 2017 @07:04PM (#16026304)
Disabling javascript is the best anti-anti-adblock solution. I wish chrome added an option for tampermonkey scripts to be run with disabled js, that would make this solution perfect.
Re:Many major websites are taking silent anti-ad-blocking me... by freedomben on Friday December 29, 2017 @12:23AM (#16027755)
Brave (at least on mobile) has a handy toggle by default right in the tool bar for blocking javascript and trackers. I don't use anything else on mobile anymore. Been using it about 50% of the time on desktop as well. Thinking about doing the micro-payments thing they offer.
Re:Many major websites are taking silent anti-ad-blocking me... by severine on Thursday December 28, 2017 @07:16PM (#16026365)
Maybe you can test this extension [1] in Chrome? Works great in Firefox, where bookmarklets are tricky sometimes due to some CSP voodoo.

[1] https://github.com/mems/bookmarklets-context-menu

Re:Many major websites are taking silent anti-ad-blocking me... by Groxx on Thursday December 28, 2017 @08:00PM (#16026603)
Yup. It's a long-standing issue. Join in the fun: https://bugzilla.mozilla.org/show_bug.cgi?id=866522
Re:Many major websites are taking silent anti-ad-blocking me... by severine on Thursday December 28, 2017 @09:01PM (#16026932)
:) Guess where I found the extension?

https://bugzilla.mozilla.org/show_bug.cgi?id=866522#c83

Re:Many major websites are taking silent anti-ad-blocking me... by uwu on Friday December 29, 2017 @03:32AM (#16028397)
> I wish chrome added an option for tampermonkey scripts to be run with disabled js, that would make this solution perfect.

that's up to tampermonkey but maybe it's possible that google wouldn't like it since it would let userscripts access extension apis

what tampermonkey does is inserting the script into the page in a script tag to isolate it from the extension[1] and let it access variables defined by scripts on the page, but if scripts are blocked on the page it just doesn't run

i made my own custom js manager (with no userscript api support) that lets you choose if the script should be ran in the extension or page context (defaults to extension which works with scripts blocked) but i don't know if it's in good enough state to put on the internet and i've never really made things for anyone but myself

[1] https://developer.chrome.com/extensions/content_scripts#exec...

Re:Many major websites are taking silent anti-ad-blocking me... by lousken on Friday December 29, 2017 @06:30PM (#16032773)
I know, author of tampermonkey is waiting for this https://bugs.chromium.org/p/chromium/issues/detail?id=471801 to be implemented. As for the extension that's up to you :) you can just post it on github and not to the store.
Re:Many major websites are taking silent anti-ad-blocking me... by TheAceOfHearts on Friday December 29, 2017 @01:07AM (#16027930)
I've found Policy Control [0] to generally be a better choice than completely disabling JavaScript. Way fewer sites break with my defaults: disabling third-party resources and requests prevent most ads and trackers.
Re:Many major websites are taking silent anti-ad-blocking me... by lousken on Friday December 29, 2017 @05:05PM (#16032334)
I fiddled with disabling 3rd party scripts a lot, but the problem are inline scripts on some pages. They detect adblock that way and serve a cookie which if detected by the server translates all 3rd party links to first party like a proxy which makes this technique useless - check e.g. idnes.cz - go to this site with an adblocker, reload the page multiple times and check cookies for adb and adb.key. I mean sure, you can disable cookies for the domain but it would be easier if I could just run my own script and disable everything else.