Disable add-ons on specific website

Hi,

My question is that : Is it possible to disable addons on specific website ?
I did many searchs about this possibility (in Firefox settings, forums, etc.) but I didn’t find anything except for this old topic which talk about. (https://support.mozilla.org/en-US/questions/1022995#answer-635614)

I found an equilavent for Chrome browser but no longer exists.

Thanks.

3 Likes

If the extension doesn’t expose that itself, no, not currently. Though there is a about:config key to disallow access to certain origins for all extensions. This is primarily used to avoid privilege escalations by default.

Is this key that you say, can disallow access to extensions for a specific website ?

It blocks interacting with specific origins.

Can you give me the name of this key ?

Pretty sure its extensions.webextensions.restrictedDomains. You should probably not remove anything that is in the list already (without knowing why it is in there).

You should not edit the key at all. Editing means that you will no longer get updates that Mozilla makes to it, meaning you’re potentially left vulnerable if a domain is ever added or removed from the default value.

1 Like

Ok too bad. It was a solution for my ask. But with this method, it’s going disabled all extensions on the domain added while I wanted disable a specific extensions for specific domain.
If somone have an other option, I’m taker.

1 Like

This answer helped me a lot!!
I was dying out not being able to load google docs files from Dropbox.com and wouldn’t know what else to try. Some other post said it was related to DuckDuckGo extension… and your answer hinted me in that direction. I went into the DuckDuckGo extension options and added Dropbox.com as an unprotected website, and done! I can now load Google Docs files from Dropbox.com on Firefox again!!
cheers!