4 ms·
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
by lousken 9y ago
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.
- severine 9y agoMaybe 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 https://github.com/mems/bookmarklets-context-menu
- Groxx 9y agoYup. It's a long-standing issue. Join in the fun: https://bugzilla.mozilla.org/show_bug.cgi?id=866522 https://bugzilla.mozilla.org/show_bug.cgi?id=866522
- severine 9y ago:) Guess where I found the extension? https://bugzilla.mozilla.org/show_bug.cgi?id=866522#c83 https://bugzilla.mozilla.org/show_bug.cgi?id=866522#c83
- freedomben 9y agoBrave (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.
- uwu 9y ago> 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#execution-environment https://developer.chrome.com/extensions/content_scripts#exec...
- lousken 9y agoI know, author of tampermonkey is waiting for this https://bugs.chromium.org/p/chromium/issues/detail?id=471801 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.
- TheAceOfHearts 9y agoI'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.
- lousken 9y agoI 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.