开发者

how to popup my google chrome extension

google chrome extension: i have added a context menu to the browser, how to I popup the popup开发者_运维问答.html on click on the context menu item ?


Send a request to a content script in a tab where the menu item was clicked. In the content script get popup.html url by calling chrome.extension.getURL("popup.html") and then display this url in a popup like you normally would.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜