I believe that all operating systems have the option to turn the screen off after a certain amount of user inactivity, mainly as a way to save battery power, but it is not always wanted to do so.
For example, when watching a video, the user may be inactive during playback, but it is desired that the screen does not go out every time - which does not happen by default.
But what if my page behaves similarly? I can have a post on a blog that I hope the user takes longer to read, getting inactive during this time.
- Is it possible to tell the browser that the screen should not delete after a period of user inactivity on a particular page?
- Will this setting from JavaScript overwrite the operating system user settings?
- In terms of usability, would it be interesting to inform the user that the screen would not go out on this page?