Essentially I want to be able to program my own extension to trigger another extension for certain purposes. Is this even possible?
Asked
Active
Viewed 986 times
1 Answers
2
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.
Jeremy
- 1
- 83
- 335
- 359
Haibara Ai
- 10,315
- 2
- 28
- 47
-
Please note that "enable" is not the same as "invoke", which is what I think is being asked. Unless an extension cooperates (that is, is open for messaging), the most you can do is to create a tab with `chrome-extension://otherextensionid/page.html` which may have side effects. You can't trigger a click on an action button, for instance. – Xan Apr 28 '16 at 12:13