ExtensionUninstaller API Technical Documentation
How to bundle the API with your extensions
If you want to use the API in your extensions, you'll probably need to bundle it in your installation. The easies way to do this, is throught the example code below:
Define the installation array
Line 3Add your application to the array. Replace "Your Application" with thet name of your app. Replace "http://yourapp.com/myapp.xpi" with the URL to your application's XPI.
Line 4Add the ExtensionUninstaller API to the array.
Line 6Install everything in the array.
