sgilroy / nosleep.page

This tiny site uses the Screen Wake Lock API to prevent your device from sleeping. Where this API isn't supported, an empty silent video is played to emulate this behaviour (using NoSleep.js).

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NoSleep Demo Page

This is a demo of NoSleep, based on https://nosleep.page created by Bradley Kemp.

The page demonstrates two versions of NoSleep:

Unlike the original nosleep.page, this implementation includes a PWA (Progressive Web App) manifest to support testing as a standalone web app instead of just as a web page.

About

This tiny site uses the Screen Wake Lock API to prevent your device from sleeping. Where this API isn't supported, an empty silent video is played to emulate this behaviour (using NoSleep.js).

License:MIT License


Languages

Language:JavaScript 54.3%Language:HTML 40.6%Language:SCSS 5.1%