Screen Stay Awake is now available for download in the WordPress plugin directory. This is a useful WordPress plugin for recipe websites and other how-to websites.
This plugin sends a request to your visitor’s browser asking it to keep their device’s screen on and prevent locking. This happens in the background and no user prompt is required. To accomplish this, Screen Stay Awake uses the Screen Wake Lock browser API. The request is sent to a visitor’s browser on page load and when the visitor interacts with the page.
Wake Lock requests can be disabled by post type, archive type, and on 404 pages. Developers can also customize behavior using the scrnsa_stayawake_should_enqueue hook.
Download the Screen Stay Awake plugin from the WordPress plugin directory here. If you monetize your website with ads, consider pairing Screen Stay Awake with Ad Commander.