仅当浏览器未最小化且选项卡处于活动状态时刷新页面
您能告诉我如何在页面上进行自动刷新(每分钟)吗?
仅当浏览器未最小化且选项卡处于活动状态时才应进行刷新。
当浏览器恢复(未最小化)时,如果刷新的页面处于活动状态,请进行刷新。
示例:我有 2 个选项卡,一个在“YouTube”上,另一个在 myApplication 上,仅当 myApplication 的选项卡处于活动状态时才会刷新。
Could you tell me how to do an autorefresh (every minute) on a page.
The refresh should only occur when the browser is not minimized and the tab is active.
When the browser is restored(unminimized) do a refresh, if the page with the refresh is active.
Example: I have 2 tabs, one on "YouTube" and the other on myApplication, there is a refresh only if the myApplication's tab is active.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论