开发者

Refresh a page only when the browser is not minimized and the tab is active

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 re开发者_Python百科fresh 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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜