this post was submitted on 02 Jun 2024
1334 points (97.4% liked)
Memes
45730 readers
609 users here now
Rules:
- Be civil and nice.
- Try not to excessively repost, as a rule of thumb, wait at least 2 months to do it if you have to.
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
yes, noscript blocks all javascript from running unless allowed, while ublock just blocks ads and trackers to my knowledge.
You can set uBlock to disable/enable JavaScript per site too, as per wiki page.
interesting, good to know!
Would noscript allow you to block things like when a site packs your history with their website making it impossible to back out to the page you came from? How does it work considering so many sites now are built with JavaScript libraries like React?
I dunno about the history but single page apps like react apps you can just accept the JS from the actual host in the address bar and leave all the rest turned off. Just tested on twitch. Accepting no JS loaded the home page and a spinner gif after selecting a stream. Accepted just twitch.tv and I could see the video stream and chat without having to accept any of the other hosts blocked.
Rad. Thank you. Working on my switch to Firefox today. Between this noscript stuff and learning about styling Firefox with CSS I'm absolutely sold on the switch and no longer dread the process of ditching Chrome (mostly due to familiarity than anything else).
Thanks for the info!