We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

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!