如何使用JS检测浏览器(例如chrome)扩展,或者检测一个特定的扩展,例如https://chrome.google.com/webstore/detail/tag-assistant-by-google/kejbdjndbnbjgmefkgdddjlbokphdefk?hl=ru
发布于 2016-01-14 03:47:45
如果要在网站上运行代码来检测浏览器扩展,可以加载chrome-extension://extension_id/manifest.json
http://blog.kotowicz.net/2012/02/intro-to-chrome-addons-hacking.html
发布于 2016-01-14 03:44:47
您应该能够使用全局事件:
https://developer.chrome.com/extensions/extension#global-events
var myPort=chrome.extension.connect('yourextensionid_qwerqweroijwefoijwef', some_object_to_send_on_connect);https://stackoverflow.com/questions/34775628
复制相似问题