Locks the current browser window with a password-protected overlay. Press Ctrl + . to activate. If no password is set, you’ll be prompted to create one.
A userscript that lets you lock your current browser window with a custom password via a keyboard shortcut.
Designed to act as a quick-access browser "lock screen" using localStorage and a minimal overlay interface.
localStorageThe script uses localStorage under the current domain:
LOCKED_WINDOW_HUD_PSWD — your custom passwordLOCKED_WINDOW_HUD_PSWD_STATUS — current lock status (true / false)You can view or clear them via browser DevTools:
→ Application tab → Local Storage → https://your-site.com
You can edit the script to change:
Ctrl + .)Developed by aket0r
Note: This is a visual lock. It’s not designed for strict security or access control — but rather as a quick privacy screen or attention blocker.