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?
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 withfirefox -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.