We run this full screen on a kiosk and it would be nice to have the screen not turn off when the site is open / full screen.
try {
const wakeLock = await navigator.wakeLock.request("screen");
} catch (err) {
// the wake lock request fails - usually system related, such being low on battery
console.log(`${err.name}, ${err.message}`);
}
We run this full screen on a kiosk and it would be nice to have the screen not turn off when the site is open / full screen.