如何让 Google Chrome 扩展弹出窗口保持打开状态? [英] How to keep Google Chrome Extension popup open?
问题描述
如果我打开我的扩展弹出窗口,然后我打开另一个窗口或选项卡,如果我返回它,弹出窗口不会保持打开状态.
If I open my extension popup then I open another window or tab following the popup does not stay open if I return to it.
有没有办法强制它使弹出窗口保持打开状态?
Is there a way to force it so the popup stays open?
推荐答案
作为用户,您目前无法强制弹出窗口保持打开状态.这是 UI 团队做出的 UI 决定.如果您想强制进行设置,您可以通过更改弹出图标、在请求时打开新选项卡或用于注册的新弹出视图等其他方式来显示此设置.
As a user, you currently cannot force the the popup to stay open. That is a UI decision the UI team made. If you want to want to force a setup, you can have other way to show this by changing the popup icon, open a new tab when it requests, or new popup view for registration.
作为开发人员,检查弹出窗口,它会保持打开状态.
As a developer, inspect the popup, and it will stay open.
这篇关于如何让 Google Chrome 扩展弹出窗口保持打开状态?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!