如何检测Chrome扩展卸载 [英] How to detect Chrome extension uninstall

查看:135
本文介绍了如何检测Chrome扩展卸载的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我无法使用 chrome.management.onUninstalled

解决方案

Google Chrome与Firefox不同,它不允许检测用户卸载该扩展,这对了解用户行为非常有用。
在crbug.com上有功能请求讨论了这个功能,但它还没有实现。


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.

解决方案

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.

这篇关于如何检测Chrome扩展卸载的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆