Keep your Mac screen awake from a browser tab
Chrome, Edge, Safari and Firefox can all keep your Mac's display on from a visible tab. In Chrome or Edge, the Mac also does not idle-sleep while the display is held. Closing the lid still sleeps the Mac, unless it runs in clamshell mode with power and an external display.
Set it up on your Mac
Four steps. The screenshots are placeholders until real-device captures are recorded.
Step 1: Open AwakeTab in Chrome or Edge and press Start
Chrome or Edge › awaketab.comSafari and Firefox keep the display on too, but Chrome and Edge also stop the Mac idle-sleeping. Wait for the pill to say "Screen awake".
Step 2: Keep the tab visible
No minimising while it runsThe window can sit behind another app while part of it stays on screen. Minimise it or switch tabs and the pill changes to "Paused — tab hidden".
Step 3: Check it in Terminal
Terminal › pmset -g assertionsRun
pmset -g assertions. Look for a PreventUserIdleDisplaySleep or NoDisplaySleep line that names your browser. Hide the tab, run it again, and the line is gone.Step 4: Optional: change the Mac's own timeout
Apple menu › System Settings › Lock ScreenThis sets the display-off times for every app, with one for battery and one for the power adapter on a laptop. It stays changed until you set it back.
Which Mac setups keep the screen on
Support claims come from browser documentation and automated tests. Real-device results appear in the matrix once recorded. Sources checked 26 September 2026.
What turns the screen off anyway
If the screen still goes dark, one of these is usually the reason.
- Closing the lidThe Mac sleeps, whatever the tab asked for, unless it is in clamshell mode.Keep a Mac awake with the lid closed
- A work Mac's lock rulesA management profile can lock the screen on its own schedule. That is separate from display sleep, and a tab does not change it.Lock screen versus display sleep
- A hidden tabA minimised window or a different tab in front lets the display go. Bring the tab back and AwakeTab asks again.
Questions
Soubhik Biswas · Builds AwakeTab. Sources checked Saturday, 26 September 2026. About AwakeTab