I’m so fed up of these cookie popups requiring a few extra clicks to reject, are there any extensions that will automatically opt out or reject additional cookies?

  • MigratingtoLemmy@lemmy.world
    link
    fedilink
    arrow-up
    23
    ·
    edit-2
    8 months ago

    uBlock Origin to block 3rd party JS.

    NoScript to specifically allow certain functions of certain domains serving JS.

    Both of these combined make sure I never see such banners because, well, no JS allowed for most things.

    Also Cookie Autodelete with Firefox containers. Even if someone happened to store cookies in my browser, they are gone by the time I close the tab. Also FF containers prevent the proliferation of cookies across tabs if in different profiles.

      • MigratingtoLemmy@lemmy.world
        link
        fedilink
        arrow-up
        3
        ·
        8 months ago

        NoScript blocks (almost) everything by default. You can then allow, temporarily allow, or selectively allow specific types of capabilities that JS from a domain can run, on either every page or on the specific FQDN. Or you can explicitly block the script(s).

        The reason I said almost in the first line is because you can customise the default behaviour of NoScript to allow/disallow certain capabilities to scripts you haven’t provided custom permissions/encountered before.

        • nossaquesapao@lemmy.eco.br
          link
          fedilink
          arrow-up
          2
          ·
          edit-2
          8 months ago

          This is very interesting, I will try right away.

          Edit: Tried it, and it broke almost every site I use. Even lemmy didn’t work. It doesn’t look like it can be used without manual intervention, like ublock.

          • MigratingtoLemmy@lemmy.world
            link
            fedilink
            arrow-up
            2
            ·
            edit-2
            8 months ago

            Well, of course. NoScript blocks all JS by default other than the capabilities allowed in the “default” mode. uBlock Origin allows all JS by default, but it can be made to act like NoScript in that it too will block JS by default.

            I have manually worked out which domains need to be allowed (uBlock + NoScript) and which capabilities to allow from each domain (NoScript, I do not see how one can do this in uBlock) in sites that I visit a lot (lemmy, old.reddit, youtube, piped, github etc). For the rest of the internet, my JS is turned off (surprisingly, most things work for my usage, but I just read blogs/text-based content for the most part when I’m surfing the internet). YMMV

      • MigratingtoLemmy@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        edit-2
        8 months ago

        I have tried to do this, and unless I’m missing something very obvious, this is incorrect (happy to be corrected!).

        I generally tend to use hard mode with uBlock Origin, and for a while I tried to use it without NoScript, however I realised that even though I can allow/block certain domains (and I really like the toggle to disable all 3rd party domains in uBlock), I cannot fine-tune the capabilities allowed for each domain.

        For example (on the “hard-mode” page for uBlock Origin on Github):

        uBlock Origin

        NoScript

        uBlock Origin didn’t let me disallow certain capabilities for this specific subdomain (which NoScript did).

        Also, I have sometimes come across discrepancies in the domains that each extension displays to me. All of this considered, I’m running both. Please let me know if there is a way around it, since I would like to simplify my life with just one extension, however I do not see how the void left behind by uninstalling NoScript can be filled by uBlock.

        Cheers!

        • elphez@lemmy.world
          link
          fedilink
          arrow-up
          1
          ·
          8 months ago

          Sorry, I’ve not played with hard mode. I did use to use uMatrix, but as that’s been deprecated and I find medium mode sufficient I can’t be of much help, I’m afraid. Hope you manage figure it out.