导航到新页面时,保持Chrome扩展程序弹出窗口保持打开状态

导航到新页面时,保持Chrome扩展程序弹出窗口保持打开状态

问题描述:

我正在开发一个带有弹出窗口的Google Chrome扩展程序(这是一个浏览器操作),它会更改页面的位置,这会使弹出窗口消失。如何让它在页面重新加载之间停留?

I'm developing a Google Chrome extension with a popup (it's a browser action), and it changes the location of the page, which makes the popup disappear. How can I make it stay between page reloads?

你不能。 browserAction弹出窗口在弹出窗口之外的任何活动上关闭。您可以使用桌面通知

You can't. browserAction popups are closed on any activity outside of the popup. You could potentially use Desktop Notifications though.