我正在开发我的第一个 Google Chrome 扩展程序。
假设我正在使用 http://example.com并且有一个来自 http://example.net 的弹出窗口打开。
有没有办法获得 http://example.net当我单击 http://example.com 中的 browserAction 按钮时弹出引用页面?
最佳答案
使用 chrome.windows 中的 getAll()
方法.
chrome.windows.getAll(object getInfo, function callback)
关于javascript - 在 Google Chrome 扩展程序中打开弹出窗口,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44078389/