Skip to content

🖥 Starts a screensaver after timeout milliseconds of inactivity on your site

Notifications You must be signed in to change notification settings

giuseppeg/screensaver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

Screensaver.js

Arguably the most useful library for your website! Starts a screensaver after timeout milliseconds of inactivity on your site.

screenshot

Usage

<script src="/path/to/screensaver.js" timeout="180000" message="Giuseppe Gurgone"></script>

Settings

  • timeout is optional. Its default value is 180000.
  • message is optional. Its default value is window.location.hostname.

Share

Share your screensaver screenshots on Twitter with the hashtag #screensaverjs and I'll RT ❤️

About

🖥 Starts a screensaver after timeout milliseconds of inactivity on your site

Resources

Stars

Watchers

Forks