With browsers ability to sync themselves, and reinstall extensions/BHOs. I want to know how would one programatically uninstall extensions/BHOs. I already have the old registry, and extension folder way, which no longer work.
I would like to do this with:
- Firefox
- Chrome
You can use chrome.management.uninstall(string id, object options, function callback) for chrome and browser.management.uninstall for the firefox.
You only need pass an ID of extension to this method.