this post was submitted on 11 Nov 2023
255 points (98.1% liked)
Privacy
31996 readers
984 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
- Posting a link to a website containing tracking isn't great, if contents of the website are behind a paywall maybe copy them into the post
- Don't promote proprietary software
- Try to keep things on topic
- If you have a question, please try searching for previous discussions, maybe it has already been answered
- Reposts are fine, but should have at least a couple of weeks in between so that the post can reach a new audience
- Be nice :)
Related communities
Chat rooms
-
[Matrix/Element]Dead
much thanks to @gary_host_laptop for the logo design :)
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
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.
Does noscript blocks unnecessary JavaScript automatically, or do we need to manually add rules?
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.
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.
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
As an aside you can ditch Noscript if you put ublock into medium mode.
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 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!
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.