• just another dev@lemmy.my-box.dev
    link
    fedilink
    English
    arrow-up
    47
    ·
    1 month ago

    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.

      • prole@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        13
        ·
        1 month ago

        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.

      • Truck_kun@beehaw.org
        link
        fedilink
        English
        arrow-up
        3
        ·
        1 month ago

        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).