WINDOW_LOCKED_HUD

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.

作者
akket0r
今日安裝
0
安裝總數
0
評價
0 0 0
版本
1.0.5
建立日期
2025-07-07
更新日期
2025-07-07
尺寸
4.9 KB
授權條款
MIT
腳本執行於
所有網站

WINDOWS HUD LOCKER

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.

🔐 Features

  • Lock the screen instantly using a keybind: Ctrl + .
  • Prompts to set a password on first use
  • Prevents interaction with the page until unlocked
  • Password is securely stored in localStorage
  • Customizable visuals and logic in script

🚀 How It Works

  1. Press Ctrl + . to activate the lock
  2. If no password is set yet — you'll be prompted to create one
  3. A translucent HUD overlay will appear, blocking the page
  4. Enter your password to unlock and restore interaction

🧠 Storage Keys

The script uses localStorage under the current domain:

  • LOCKED_WINDOW_HUD_PSWD — your custom password
  • LOCKED_WINDOW_HUD_PSWD_STATUS — current lock status (true / false)

You can view or clear them via browser DevTools:
Application tab → Local Storagehttps://your-site.com

⚙️ Customization

You can edit the script to change:

  • Password prompt text
  • Shortcut key (Ctrl + .)
  • HUD overlay styles (e.g. dark mode, blur)
  • Lock/unlock animations or sounds

🧑‍💻 Author

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.

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址