【发布时间】:2017-11-04 04:18:33
【问题描述】:
我正在尝试编写一个 chrome 扩展程序,在其中我需要为 Spotify Web API 授权打开一个新链接。但是, window.open() 在新选项卡中打开它,我的扩展弹出窗口关闭。有没有办法在 default_popup 上打开一个 url,或者至少让它不会自动关闭?
谢谢
【问题讨论】:
-
使用 chrome.identity API Chrome Extension OAUTH with Spotify API
-
@wOxxOm 谢谢你,成功了。
标签: javascript google-chrome-extension