this post was submitted on 02 Jun 2024
1323 points (97.6% liked)

Memes

45887 readers
1154 users here now

Rules:

  1. Be civil and nice.
  2. 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
[–] erev@lemmy.world 7 points 6 months ago (2 children)

yes, noscript blocks all javascript from running unless allowed, while ublock just blocks ads and trackers to my knowledge.

[–] smowtenshi@lemmy.world 5 points 6 months ago (1 children)

You can set uBlock to disable/enable JavaScript per site too, as per wiki page.

[–] erev@lemmy.world 2 points 6 months ago

interesting, good to know!

[–] uhN0id@programming.dev 3 points 6 months ago (1 children)

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?

[–] whotookkarl@lemmy.world 3 points 6 months ago* (last edited 6 months ago) (1 children)

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.

[–] uhN0id@programming.dev 3 points 6 months ago

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!