I’m trying to clean some preferences files when a user uninstall my extension from chrome browser.
On google website, http://code.google.com/chrome/extensions/external_extensions.html
They say, “To uninstall your extension (for example, if your software is uninstalled), remove the metadata from the preferences file or registry. “
I would really like to do that but how do my extension listens to the ‘uninstall event’, if it exists. I didn’t find this event anywhere.
Please help.
What they mean by that paragraph is if you are uninstalling your software that was bundled with the extension, you should manually uninstall the extension as well by removing registry entries.
There is an uninstall event:
It would work for listening to other extensions being uninstalled, but catching your own uninstall with it most likely would not be possible.