是否可以使用自己的Chrome扩展来执行另一个扩展? [英] Is it possible to execute another chrome extension using your own chrome extension?
问题描述
如果你想管理其他扩展,你可以看看 chrome.management ,对于您的情况,我相信您希望检查 management.setEnabled ,它允许您启用/禁用另一个扩展。
如果您的意思是与正在运行的扩展进行消息传递通信,并且您可以控制两个扩展,则可以使用跨扩展消息与其他扩展进行通信。
Essentially I want to be able to program my own extension to trigger another extension for certain purposes. Is this even possible?
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.
这篇关于是否可以使用自己的Chrome扩展来执行另一个扩展?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!