D
D
Dmitry2015-08-02 12:38:43
JavaScript
Dmitry, 2015-08-02 12:38:43

How to make js work in IE window in Windows Phone 8.1 in background?

Good afternoon!
Unfortunately, Google didn't help.
There is a simple timer in JavaScript, which is launched by clicking on the "Start" button and counts the number of seconds.
The script is easy, works everywhere correctly.
When running on WP8.1 in IE (I haven’t tested it in other browsers, but I understand that there will be a problem), everything also works well, BUT as soon as I switch from the browser window to another application, the counter slows down. And it only starts working when I switch back to the browser window.
I understand that the problem lies in the multitasking of the system. But after all, applications can work in the background, is it possible to make the browser work the same way?
It is necessary: ​​so that the counter does not stop in minimized IE. If that's possible.
Thank you very much in advance!

Answer the question

In order to leave comments, you need to log in

2 answer(s)
N
Nikita Kamenev, 2015-08-02
@NickStone

How to make js work in IE window in Windows Phone 8.1 in background?
...during a solar eclipse, without electricity.

I
Innokenty Ivanov, 2015-09-09
@Kenya-West

Applications in the background do not work. At a minimum, all sockets and network connections in applications go to hell if you go to the desktop or switch somewhere. There are several system agents for background loading, network connections, etc. - they are called by the developers, simulating the background work of applications. And after 1-5 minutes, the application cuts down completely, but it still hangs in the dispatcher. When you switch to a disabled application, it restarts and restores the state it was in before the shutdown.
What am I talking about - that even the system IE does not have special prerogatives and technically cannot execute JS in the background.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question