This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Disable "Remove Extension" option from context menu when clicked on browser-action in toolbar

more options

I want to create a safe environment in my browser with a couple of extensions that I DON'T want to be deleted by users. I tried using Private Fox to forbid access to about:addons page but I found out that user can remove an extension by simply right-clicking its browser-action icon and choosing "Remove Extension" from a context menu.

Is there a way to prevent this and hide that option from a menu?

Upd: Firefox runs on Linux machines

I want to create a safe environment in my browser with a couple of extensions that I DON'T want to be deleted by users. I tried using Private Fox to forbid access to about:addons page but I found out that user can remove an extension by simply right-clicking its browser-action icon and choosing "Remove Extension" from a context menu. Is there a way to prevent this and hide that option from a menu? Upd: Firefox runs on Linux machines

Chosen solution

Your best option is probably to use a policy to prevent users from uninstalling or disabling add-ons. Read Customize Firefox using policies.json for more information.

Read this answer in context 👍 1

All Replies (3)

more options

Chosen Solution

Your best option is probably to use a policy to prevent users from uninstalling or disabling add-ons. Read Customize Firefox using policies.json for more information.

more options

Wesley Branton said

Your best option is probably to use a policy to prevent users from uninstalling or disabling add-ons. Read Customize Firefox using policies.json for more information.

This is an interesting solution and it sure blocks the about:addons page but it does not solve the issue with context menu. If I right-click an extension image in a toolbar it still allows me to click "remove extension" and remove extension for good

more options

This actually solves my problem through "Extensions" policy and "Locked" extensions. Many thanks!