So you’ve decided to do something about all those annoying ads you’re barraged with online. What pushed you over the edge? Auto-play video ads? Blaring banners? Tired of your music interrupted by a sudden sponsorship? Was it the realization they intentionally make the ‘Close’ buttons [x] on ads super tiny so you accidentally click the […]
Besides it’s usefulness as an adblocker, I like how it allows you to disable javascript for a site with just 2 clicks. Closing a newsletter popup works for a visit, but no javascript works forever.
Wait that’s a thing???
There are also (somewhat hidden) “hard modes” where the only indicator that you’re in a different mode is that the badge number next to the uBlock icon changes color.
You can have it block all third party scripts by default for every website, or even go all out and basically use it like noscript. Pretty much breaks every individual website though but you can choose individually what to let through and save it based on domain (I believe) so you really only need to do it once.
Neat thanks.
There is also a setting under Default Behavior to disable javascript: https://github.com/gorhill/uBlock/wiki/Per-site-switches#no-scripting
Which would then require you to allow it for each site.
I use NoScript for that purpose though. I’ve not delved into uBlocks configuration, but NoScript makes it pretty easy to only allow javascript from certain sources on the page (can easily select which third party sites to allow).
Noscript addon