How do I enable or disable an extension in a per-website basis?
There are lots of extensions that can see and modify the page content, from GreaseMonkey and similar to Japanese or Chinese mouseover helpers. I'd like to make sure none of those extensions are active when I access my bank's website, or other sensitive sites like Gmail. Is there a simple way to achieve this, other than manually disabling them myself? I'm using the latest PC version of Firefox ATM (April 2019). Thank you.
Additional System Details
- User Agent: Mozilla/5.0 (Linux; Android 8.0.0; FIG-LX3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.90 Mobile Safari/537.36
I flagged your post to move from Android to Windows (assuming PC = Windows).
In short, no, there isn't a per-hostname carve-out to an extension's all sites permission. That would be great, but I don't know if it's on the roadmap.
Separate Profile Workaround
One possible workaround would be to use a separate profile. Each Firefox profile has its own settings folder: separate bookmarks, preferences, logins, and add-ons. So you could create a "No Add-ons" profile and only install the extensions you trust to work with those sites in that secondary profile. If you want to give it a try, here's how:
(1) Open the Profile Manager page
Type or paste about:profiles in the address bar and press Enter to load it. I suggest bookmarking this page for future reference.
(2) Create a new profile (first-time setup only; skip in the future)
Click the Create a New Profile button, then click Next. Assign a name like NoAddons, ignore the option to relocate the profile folder, and click the Finish button.
(3) Launch the new profile in a separate instance of Firefox
Scroll down to the new profile and click the Launch profile in new browser button. After a few moments, a new window with the default settings should appear.
Firefox may detect extensions installed in shared folders and offer the option to enable them. You can just ignore that unless you want them to run.
Tip: To make it easier to distinguish from your regular profile, you could switch to the dark theme or add a custom theme. See: Built-in themes in Firefox - alternative to complete themes. But for now, the different toolbar layout and lack of add-on buttons should be enough of a clue.
(4) After finishing your business in the NoAddons profile, you can exit out of that Firefox without affecting your regular Firefox.
What do you think?
Modified by jscher2000
Thank you for your prompt answer. Regarding the place this question was placed, I used the form from my cell phone, but I didn't see any fields to specify platform or version; you might want to revise your defaults. Of course I could use different profiles, or different browsers for that matter; it would be much better if there was a way to disable extensions in ways similar to the Facebook container.
I'm sure there are many possible ways to make it easier.
Here in support, we work with the Firefox we have today, including features, settings, and workarounds (e.g., add-ons).
We can't really help with suggested feature changes. You could submit comments and suggestions for feature changes through one or more of the following links, or recently I saw someone created a Change.org petition (no idea whether that helps):
- Feedback: https://qsurvey.mozilla.com/s3/FirefoxInput/
- Discourse: https://discourse.mozilla.org/c/firefox-development
- Reddit: https://www.reddit.com/r/firefox/
- Twitter: https://twitter.com/firefox
- Facebook: https://www.facebook.com/Firefox