Is it possible to execute another chrome extension using your own chrome extension?

柔情痞子 提交于 2019-12-13 07:25:43

问题


Essentially I want to be able to program my own extension to trigger another extension for certain purposes. Is this even possible?


回答1:


If you want to manage other extensions, you could take a look at chrome.management, for your case, I believe you'd like to check management.setEnabled, it allows you to enable/disable another extension.

If you mean to communicate with an running extension for message passing and you have control on both of the two extensions, you could use Cross-extension messaging to communicate with other extensions.



来源:https://stackoverflow.com/questions/36902913/is-it-possible-to-execute-another-chrome-extension-using-your-own-chrome-extensi

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!