PeerTube when JavaScript is blocked

  • poVoq@lemmy.ml
    link
    fedilink
    arrow-up
    1
    ·
    4 years ago

    Is there a browser add-on that automatically whitelists (or what ever the current en vogue term for that is) javascript from FOSS code running websites by comparing the JS files to a hash or something like that?

    • CodingOtaku@lemmy.ml
      link
      fedilink
      arrow-up
      1
      ·
      4 years ago

      Not perfect, hogs a little too much memory for comfort, sometimes doesn’t even work on the FSF members forum, but LibreJS is what you are looking for.

      • poVoq@lemmy.ml
        link
        fedilink
        arrow-up
        0
        ·
        edit-2
        4 years ago

        Yes, I am somewhat aware of this… but I think this needs support on the side of the website code itself, right? I was rather thinking about a pure client-side option. Edit: ok the white listing works client side only, but some sort of automated hash based system that I could install on the browser of my hypothetical grandmother would still be great to have.

        • Dreeg Ocedam@lemmy.ml
          link
          fedilink
          arrow-up
          1
          ·
          4 years ago

          that I could install on the browser of my hypothetical grandmother would still be great to have

          Just use a decent ad-blocker for that, uBlock origin is the best. Blocking everything by default will just make your grandma confused

    • Dreeg Ocedam@lemmy.ml
      link
      fedilink
      arrow-up
      1
      ·
      4 years ago

      It should be possible to run uBlock origin in hard mode with a custom dynamic filtering allowlist for trusted sites.

      • poVoq@lemmy.ml
        link
        fedilink
        arrow-up
        1
        ·
        4 years ago

        Sure, but that wouldn’t work on various instances of Peertube running the same javascript code on different domains.