Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to detect Chrome extension uninstall

I am trying to detect whether my extension was uninstalled.

I can't use chrome.management.onUninstalled because it will be fired on other extension.

like image 974
Yosi Avatar asked Oct 17 '11 10:10

Yosi


2 Answers

As of Chrome 41, you can now open a URL when the extension is uninstalled. That could contain an exit survey or track the uninstall event as some sort of analytics.

like image 179
Tim Dorr Avatar answered Sep 17 '22 18:09

Tim Dorr


Google Chrome, unlike Firefox, doesn’t allow to detect when the user uninstalls the extension, which is quite useful to understand user behaviour. There is a feature request on crbug.com with a discussion of this feature but it has not been implemented yet.

like image 21
vikiiii Avatar answered Sep 18 '22 18:09

vikiiii