Browser extension uninstallation Issue

When using “installed_mode = forcelist” to install a Firefox extension, changing it to “installed_mode = blocked” removes the extension but prevents manual installation.
I want to uninstall the extension only one time. is it possible ?

It’s not currently possible to only remove an extension using Firefox policies. At the moment, I see two ways to work around this limitation.

Option 1: Use “installed_mode = blocked” to remove the extension, then a couple days later change it to “installed_mode = allowed” (or simply remove this setting) to allow users to install it.

Option 2: Use “installed_mode = allowed” (or remove the setting) and deploy a new, custom extension that uses the Management API to check if the extension to check how an extension was installed and call browser.management.uninstall() to remove the extensions that shouldn’t be there by default.