Automatically lock WhatsApp Web after a period of time or by pressing the action button
Password Lock for WhatsApp™ Web Extension
This extension allows you to password-protect your WhatsApp Web account. It offers two modes of operation:
The extension prompts you to enter the password when you open WhatsApp Web.
The extension only prompts you to enter the password after a period. In this mode, you can ask to lock WhatsApp after the period is expired.
Usage Instruction:
After installation, click the action button once to open WhatsApp Web next to your current tab.
Enter your password and confirm it in the confirmation box.
Press the \"Change Password\" button to activate the password protection. From now on, the extension will block WhatsApp access on any subsequent requests.
Notes:
* Press the action button to lock WhatsApp Web. This will lock all open instances of WhatsApp. The extension will open a new, locked one for you if there are no instances.
You can also configure a keyboard shortcut for the action button. This way, you can quickly lock WhatsApp when needed.
* The extension also locks right-click context menu. You can disable this feature from \"options\" panel
Read more
The extension prompts you to enter the password when you open WhatsApp Web.
The extension only prompts you to enter the password after a period. In this mode, you can ask to lock WhatsApp after the period is expired.
Usage Instruction:
After installation, click the action button once to open WhatsApp Web next to your current tab.
Enter your password and confirm it in the confirmation box.
Press the \"Change Password\" button to activate the password protection. From now on, the extension will block WhatsApp access on any subsequent requests.
Notes:
* Press the action button to lock WhatsApp Web. This will lock all open instances of WhatsApp. The extension will open a new, locked one for you if there are no instances.
You can also configure a keyboard shortcut for the action button. This way, you can quickly lock WhatsApp when needed.
* The extension also locks right-click context menu. You can disable this feature from \"options\" panel
Source Manifest.json
{"update_url": "https://clients2.google.com/service/update2/crx", "name": "Password Lock for WhatsApp\u2122 Web", "description": "Automatically lock WhatsApp Web after a period of time or by pressing the action button", "version": "0.1.4", "manifest_version": 3, "permissions": [ "storage", "alarms", "idle" ], "host_permissions": [ "https://web.whatsapp.com/*" ], "background": { "service_worker": "worker.js" }, "action": { "default_title": "Open WhatsApp Web or focus an already opened one then lock it" }, "icons": { "16": "/data/icons/16.png", "32": "/data/icons/32.png", "48": "/data/icons/48.png", "64": "/data/icons/64.png", "128": "/data/icons/128.png", "256": "/data/icons/256.png", "512": "/data/icons/512.png" }, "homepage_url": "https://webextension.org/listing/password-lock-for-whatsapp.html", "content_scripts": [{ "matches": ["https://web.whatsapp.com/*"], "js": ["/data/blocker/run.js"], "css": ["/data/blocker/run.css"], "run_at": "document_start" }], "web_accessible_resources": [{ "resources": ["/data/lock/index.html"], "matches": ["https://web.whatsapp.com/*"] }], "commands": { "_execute_action": {} }}
Read more