5
I believe that all operating systems have the option for the screen to erase after a certain user downtime, mainly as a way to save battery, however, it is not always desired that this happens.
For example: when watching a video, the user may be inactive during its playback, but it is desired that the screen does not delete itself every little bit - which actually does not happen by default.
But what if my page has similar behavior? I can have a blog post that I hope the user takes longer to read, getting inactive during this period.
- You can tell the browser that the screen should not erase after a period of user inactivity on a given page?
- This setting from Javascript will override the operating system user settings?
- In terms of usability, it would be interesting to inform the user that the screen would not be deleted on this page?
Obs.: It’s easy to find some codes that promise to do this by adding a video running in the background. Preferably, I would like solutions that do not do this, because they seem to be a common way of solving the problem.
– Woss