• The Stoned Hacker
    link
    74 months ago

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

    • @smowtenshi
      link
      54 months ago

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

    • @[email protected]
      link
      fedilink
      34 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
        link
        3
        edit-2
        4 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.

        • @[email protected]
          link
          fedilink
          34 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!