Prevent popup.html of Chrome from being closed by iframe action

微笑、不失礼 提交于 2019-12-24 01:16:24

问题


I embedded an iframe in my popup.html of my extension. Inside this iframe the use has to submit by clicking on a button. This opens a new tab which causes my popup.html to be closed.

How can I force the popup.html to remain active?

This is necessary as the iframe processes with more information.

My popup.html: http://pastebin.com/QftvfQ8c


回答1:


You can not force a popup to remain open.



来源:https://stackoverflow.com/questions/8935475/prevent-popup-html-of-chrome-from-being-closed-by-iframe-action

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!