G
G
GeorgyCrazy2019-06-14 20:35:11
JavaScript
GeorgyCrazy, 2019-06-14 20:35:11

How to auto-refresh tabs?

I need to update the tab in mozilla on android every, say, 60 seconds. The main thing is that both in sleep and in minimized mode, it is updated. Mobile extensions won't launch and helper sites won't sleep. Can this be implemented somehow?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Shohruh Shaimardonov, 2019-06-14
@joeberetta

<meta http-equiv="refresh" content="60" />

O
Odisseya, 2019-06-14
@Odisseya

Usually, timers help - they work even when the tab is inactive, but this is from the evil one, because. eat off the battery and browsers set min. interval on an inactive tab (about 1s). Some browsers suspend js altogether. You can look in the direction of how web workers work in the browser you need.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question