Spaces:
Running
Running
Commit History
-
Prompt (English, with Vietnamese UI requirement):
Verified signatureAct as a senior Chrome extension developer. I want you to generate the full source code for a Chrome extension that works like “Browser Lock | Lock Your Browser”, but with an extra feature: unlock by scanning a QR code. Overall goal Build a Chrome extension that: Locks the browser with a full-screen page when the user opens Chrome or opens a new window/tab (or at least when they open a new tab). Requires the user to enter a password OR scan a QR code to unlock. Until the user unlocks, all normal browsing should be blocked in that tab (show only the lock screen). After successful unlock, the user can browse normally. Optionally, auto-lock again after X minutes of inactivity. Functional requirements Manifest Use Manifest V3. Include: manifest.json background/service worker file lock page HTML/JS/CSS options page HTML/JS/CSS (to set password and QR config) any needed content scripts. Lock screen behavior When a new tab is opened (or the browser starts), instead of showing…46c2643