Screen Wake Lock
Your device may not fully support this feature
This feature works in Safari on iOS but not (yet) for installed web apps.
The Screen Wake Lock API enables web apps to prevent devices from dimming or locking the screen when the app needs to keep running.
Demo
Check the box below to prevent your screen from locking. The wake lock will be released when you minimize the app or focus another browser tab on desktop. To restore the wake lock when you focus the app or tab, check the "Restore wake lock on visibility change" box.
Documentation
Screen Wake Lock API on web.devBrowser support
The Screen Wake Lock API is available from Chrome 84.