1335
submitted 5 months ago by mortemtyrannis@lemmy.ml to c/memes@lemmy.ml
you are viewing a single comment's thread
view the rest of the comments
[-] erev@lemmy.world 8 points 5 months ago

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

[-] smowtenshi@lemmy.world 5 points 5 months ago

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

[-] erev@lemmy.world 2 points 5 months ago

interesting, good to know!

[-] uhN0id@programming.dev 3 points 5 months ago

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 5 months ago* (last edited 5 months ago)

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 5 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!

this post was submitted on 02 Jun 2024
1335 points (97.5% liked)

Memes

45642 readers
1164 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