r/LibreWolf • u/b25fun • 2h ago
r/LibreWolf • u/sadsayeed • 3h ago
Question Can Librewolf limit any extension's access only to given list of domains?
Hi, I had a question. Can Librewolf somehow limit any specific extension's access only to given list of domains I want to allow? So far, Firefox can NOT do that (even though many users asked for for years).
For example, I want to whitelist SingleFile extension only for 5-6 domains, but SingleFile extension (like most other FF extensions) has access to ALL domains.
And SingleFile also INJECTS a bunch of scripts in ALL unused domains/websites visited, which is highly counter-productive waste of resources, plus a security/privacy issue (though I mostly trust SingleFile so far, but it's inefficiency and wasteful nonetheless).
[I know Chrome, Brave can whitelist extension's access to given domains, but I very much want to stick to Firefox, Librewolf as long as I can, instead of Chromium based ones].

r/LibreWolf • u/Real-Wrongdoer8590 • 5h ago
Question How can I hot-reload userChrome.css and userContent.css in LibreWolf?
I'm customizing LibreWolf using userChrome.css and userContent.css. Both stylesheets use colors from my current desktop theme, so whenever I change themes, I currently have to restart the browser.
I found a JavaScript snippet that reloads a stylesheet using Firefox's nsIStyleSheetService. It works for updating browser UI colors, but I have to execute it manually in the Browser Console (Ctrl+Shift+J).
I have two questions:
Is there a way to reload userContent.css as well as userChrome.css without restarting the browser?
Is there a way to trigger the reload externally, for example with a Bash script, rather than manually running JavaScript in the Browser Console?
I've also looked into fx-config as a way to run JavaScript in the browser, but I'm concerned about its security implications.
I'd appreciate suggestions for a reliable approach or documentation on Firefox/LibreWolf's stylesheet-loading mechanisms.