I was able to do it in Firefox using nsIObserverService. Is there anything similar? Any link to proper documentation will be very helpful.
You can now set an uninstall url as of Version 41 of chrome.
https://code.google.com/p/chromium/issues/detail?id=84556
Here is the documentation. https://developer.chrome.com/extensions/runtime#method-setUninstallURL
hths, future people who read this question.
Put it in background or service worker JavaScript file chrome.runtime.setUninstallURL('your URL here');
There are no hooks for uninstall within the Chrome extension API. Feel free to star the following feature if you want to see it included:
http://code.google.com/p/chromium/issues/detail?id=19383
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With