简体   繁体   English

3秒钟后如何使用jQuery或Javascript将浏览器置于所有其他窗口或浏览器的前面/焦点?

[英]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.

相关问题 将浏览器置于php或javascript的所有窗口/应用程序的最前面 - Bring the browser to the front of all window/application in php or javascript 如何将焦点带到jquery的窗口? - How to bring focus to a window in jquery? 在Google Chrome浏览器中,如何使用父窗口中的javascript将现有的弹出窗口置于最前面? - In Google Chrome, how do I bring an existing popup window to the front using javascript from the parent window? 是否可以告诉浏览器不要从`getDisplayMedia` 中聚焦(置于前面)选定的窗口? - Is it possible to tell the browser not to focus (bring to front) the selected window from `getDisplayMedia`? 在Javascript(不是JQuery)中,如何使窗口在2秒后关闭? - In Javascript (not JQuery), how do I make the window close after 2 seconds? 如何将弹出式浏览器窗口置于最前面,使其位于所有浏览器窗口的顶部? - How to bring popup browser window to the front so its on top of all browser windows? 如何始终使用JavaScript将窗口置于最前面? - How to always bring a window to the front with Javascript? 用户进行测验时,如何停止使用javascript或jquery打开其他浏览器或标签? - how can i stop opening other browsers or tabs using javascript or jquery when a user is taking a quiz? JS - 窗口焦点并在 Firefox 中置于最前面 - JS - Window Focus and Bring to front in Firefox 如何从另一个Windows代码中将已存在的打开窗口置于其他窗口的正面? - How do I bring an already existing open window to the front on top of other windows from another windows code?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM