Skip to content

Do you get frustrated when your device screen turns off while you're downloading games, reading a long PDF, or watching static content? Worry no more! Keep My Screen Awake is a simple web app designed to prevent your screen from dimming or locking automatically. πŸ•’βœ¨

Notifications You must be signed in to change notification settings

programmingwithprince/Keep-my-Screen-Wake-Up

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

15 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ–₯️ Keep My Screen Awake πŸŒ™

Do you get frustrated when your device screen turns off while you're downloading games, reading a long PDF, or watching static content? Worry no more! Keep My Screen Awake is a simple web app designed to prevent your screen from dimming or locking automatically. πŸ•’βœ¨

https://programmingwithprince.github.io/Keep-my-Screen-Wake-Up/

πŸš€ Features

  1. Prevent Screen Timeout πŸ›‘οΈ:

    • Uses the Screen Wake Lock API to keep your screen awake during long tasks.
    • Perfect for activities like downloads, viewing static documents, or presentations.
  2. Fullscreen Mode πŸ“Ί:

    • Easily toggle fullscreen mode for better viewing:
      • Press F πŸ”€
      • Press Space ⌨️
      • Click anywhere πŸ–±οΈ
  3. User-Friendly Design 🎨:

    • Automatically activates the wake lock upon loading.
    • Minimalistic black background to reduce strain on your eyes. 🌌

πŸ› οΈ How to Use

  1. Open the App:

    • Download and open the index.html file in any modern browser (e.g., Chrome, Brave, Edge). 🌐
    • The app will automatically keep the screen awake! πŸ”‹βœ¨
  2. Toggle Fullscreen Mode:

    • Press F, Space, or click on the page to switch fullscreen on or off.
  3. When You're Done:

    • The wake lock will release automatically when you close the page or switch tasks. βœ…

🌟 Why Use It?

  • No More Interruptions: Let your screen stay on during important tasks. πŸ“₯πŸ“„
  • Simple and Lightweight: No installation required. Just open the file and you're good to go! ⚑
  • Cross-Browser Compatibility: Works on all major browsers supporting the Screen Wake Lock API. πŸ”§

πŸ§‘β€πŸ’» How It Works

  • Wake Lock API:

    • Prevents the screen from dimming with navigator.wakeLock.request('screen').
    • Handles wake lock release events gracefully.
  • Fullscreen API:

    • Allows users to enter or exit fullscreen mode with document.documentElement.requestFullscreen() and document.exitFullscreen().

πŸŽ‰ Give It a Try!

Enjoy uninterrupted screen time with Keep My Screen Awake! πŸš€


Made with ❀️ and JavaScript. πŸ’»βœ¨

About

Do you get frustrated when your device screen turns off while you're downloading games, reading a long PDF, or watching static content? Worry no more! Keep My Screen Awake is a simple web app designed to prevent your screen from dimming or locking automatically. πŸ•’βœ¨

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages