I keep finding myself having to manually disable and re-enable a few different settings as I use Librewolf, namely Letterboxing and WebGL, as I switch between browsing the internet and trusted sites or home server UIs. Is there any way to configure these on a site-by-site basis, or at least from a container/profile interface of some sort?

  • drkt
    link
    fedilink
    English
    012 days ago

    There is not. Maybe consider using regular hardened Firefox for trusted domains?

  • Panos Alevropoulos
    link
    fedilink
    012 days ago

    You can create separate profiles with different settings. That means you will have to use a different profile (a separate browser instance) for some websites. I personally launch each profile with keybindings.

    • aprehendedmerlin
      link
      fedilink
      English
      012 days ago

      Wow that’s great can you explain How to set keybindings for launching profiles?

      • Panos Alevropoulos
        link
        fedilink
        08 days ago

        Depends on the system you are using, but the principle is the same.

        First, you need to set up your profiles in about:profiles. Then, you launch these profiles with firefox -P "<profile name>" in your terminal. Once that works, you can use anything that can launch programs via keybindings. It’s easier on window managers. For example, in my Hyprland config, I have the following lines:

        bind = SUPER, Z, exec, $browser -P "default"
        bind = SUPER SHIFT, Z, exec, $browser -P "lesser" 
        

        SUPER+Z launches my hardened browser (no JS), SUPER+SHIFT+Z launches my vanilla browser (JS enabled, some options turned off). The $browser variable is set to GNU Icecat, a Firefox fork.