I have a specific issue I want to solve right now, but the topic is phrased more generally as I would love the answer to this as well. But this might be an XY-problem because of this, so here’s the actual problem I want to solve:

I am using LibreWolf as my main browser, and it has WebGL disabled by default to avoid fingerprinting. I would like to keep it this way, but I am currently also making some internal tools for myself that requires WebGL (map renders with Plotly in Dash).

Is there a way to tell LibreWolf to enable WebGL only for specific sites, so that I don’t have to manually toggle this when I want to look at my maps? My initial thought was that this could be solved with a site-specific about:config.

  • @MrSoup@lemmy.zip
    link
    fedilink
    323 days ago

    You can use NoScript.
    Enable WebGL in LibreWolf/Firefox, block it with NoScript and manage a white list adding manually sites you need.

    • @cyberwolfieOP
      link
      123 days ago

      That seems like a very simple option. Does NoScript in any way interfere with uBlock Origin or any of the settings in LibreWolf? As in, can I just allow everything except WebGL, turn on WebGL in about:config and have the exact same behavior as before?

      • @MrSoup@lemmy.zip
        link
        fedilink
        2
        edit-2
        23 days ago

        I use Firefox with uBlock and NoScript plus other addons and seems to be no interference between those two.
        Should not be an issue on LibreWolf.

        • @cyberwolfieOP
          link
          121 days ago

          It can. I’ve tried out the solution, and it works as described. Very simple and nice:)