问题
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