Prevent Sleep Toggle
See the Prevent Sleep Toggle in action
The Prevent Sleep Toggle allows your visitors to enable "Cook Mode", preventing the screen of their device from sleeping/going dark.
This feature makes use of the experimental WakeLock API, which is not yet supported by all browsers (including any iOS browser, unfortunately): https://developer.mozilla.org/en-US/docs/Web/API/WakeLock
If the browser/device does not support this feature, the toggle will not show up.
Adding the Prevent Sleep Toggle
The toggle can be added where you want it to appear using our Template Editor. Go to "Add Blocks" and add the "Prevent Sleep" block there. This block has a few styling options you can use: