简体   繁体   中英

Javascript popup window focus

Is there a way to bring a javascript pop-up to the front of all applications if the browser from where the pop-up is generated is minimalized? Tried:

newwindow=window.open('sessionExpiresSoon.html','SessionExpires','height=200,width=150');

newwindow.focus();

But this only focuses if the browser is opened or browsing in other tabs and so on.

new tab (no mater if it's pop-up) is a part of browser. if your programm (named browser) is inactive in your operating system, you can make it blinking as max.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM