开发者

How can I open my chrome extension's popup page from the extension's content script?

I have a content script which injects a button to th开发者_高级运维e document. I want to open the extension's popup when the button is clicked.


You cannot open the extension's popup programmatically. That is by design. Perhaps you can use a page action instead?

Good Luck!

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜