[英]How can I bring browser to front/ in focus of all other window or browsers after 3 seconds using jQuery or Javascript?
有没有什么方法可以使浏览器在所有其他窗口或使用jQuery或Javascript的浏览器中排在前面/焦点?
You can't, for good reason; 你不能,有充分的理由; imagine the possibilities for spammy pages to force their page to the top. 想象垃圾页面迫使其页面居顶部的可能性。
You can call attention to the window by changing the title periodically (eg, every second or so), or through web notifications in supported environments. 您可以通过定期(例如,每秒钟左右)更改标题或在受支持的环境中通过Web通知来引起对窗口的注意。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.