S
S
ShabaevMB2017-07-09 20:16:15
JavaScript
ShabaevMB, 2017-07-09 20:16:15

How to simulate an "active window" in the browser if this window is not currently one?

Can this be done through an extension, say, for FireFox? To make all windows "active".
Maybe there are some methods in Javascript or something? Maybe you can somehow change the parameters by which the visited site determines the "activity" of the window. I'm "green" in this matter, please do not judge strictly :-)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Sokolov, 2017-07-09
@sergiks

Most likely, they are determined by the actions of the mouse (at least just moving over the page), scrolling, pressing the keys. It would be nice to see the JS code of that site.
Technically, inactive tabs are no different from active ones: scripts, connections work in them, sound can suddenly be played.
A page in an inactive tab does not receive any input from the user, and this is probably the main symptom.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question