this post was submitted on 11 Nov 2023
256 points (98.1% liked)

Privacy

32442 readers
715 users here now

A place to discuss privacy and freedom in the digital world.

Privacy has become a very important issue in modern society, with companies and governments constantly abusing their power, more and more people are waking up to the importance of digital privacy.

In this community everyone is welcome to post links and discuss topics related to privacy.

Some Rules

Related communities

much thanks to @gary_host_laptop for the logo design :)

founded 5 years ago
MODERATORS
 

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?

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 23 points 1 year ago* (last edited 1 year ago) (2 children)

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.

[–] [email protected] 3 points 1 year ago (1 children)

Does noscript blocks unnecessary JavaScript automatically, or do we need to manually add rules?

[–] [email protected] 3 points 1 year ago (1 children)

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.

[–] [email protected] 2 points 1 year ago* (last edited 1 year ago) (1 children)

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.

[–] [email protected] 2 points 1 year ago* (last edited 1 year 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

[–] [email protected] 1 points 1 year ago (1 children)

As an aside you can ditch Noscript if you put ublock into medium mode.

[–] [email protected] 1 points 1 year ago* (last edited 1 year ago) (1 children)

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!

[–] [email protected] 1 points 1 year 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.