• uhN0id@programming.dev
      link
      fedilink
      arrow-up
      3
      ·
      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
        link
        fedilink
        arrow-up
        3
        ·
        edit-2
        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
          link
          fedilink
          arrow-up
          3
          ·
          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!