搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

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

被選擇的解決方法

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.

從原來的回覆中察看解決方案 👍 1

所有回覆 (3)

more options

選擇的解決方法

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!