📜 ⬆️ ⬇️

How to make a non-removable extension or just hide it

Register the key in the Windows registry:

[HKEY_LOCAL_MACHINE \ SOFTWARE \ Mozilla \ Firefox \ extensions]
"Xxx @ yyy" = "F: \ WINDOWS \ Temp \ xxx @ yyy"

Where the key name is the UID of your extension, and its value is the absolute path to the extension folder (there must be install.rdf and so on - everything as usual).
')
Upon the next launch, the fox will find this extension and it will always hang in the Tools / Addons list, because the Uninstall item is unavailable for such. (You can still zadizeyblit it - there is a Mozilla miscalculation.) And it will be installed without notifications, that is, the average user of the fox may never know about it.

There is another option - to hide the extension from the general list. It suffices in the install.rdf extension installed by the above method to register the string <em: hidden> true </ em: hidden> and - voila! - the code works quietly, is not shown in the list of add-ons, and the user sleeps stronger than before. And do not stick - all according to the API.

But. Literally the next version of Firefox 3.6 "Namoroka" last (hidden) shop will be covered - probably ended the contract with the forces of darkness. And it existed since the time of version one zero.

My example of such an extension. More .

Source: https://habr.com/ru/post/79469/


All Articles