WhatsApp Web Blur & Quick Message (with Super Toggle)

Blurs inactive WhatsApp chats/messages, unblurs on hover, enables messaging without saving numbers, toggles blur for unread messages, and now supports a master blur toggle button.

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

作者
NoushadBug
今日安裝
0
安裝總數
17
評價
2 0 0
版本
1.3.1
建立日期
2025-06-01
更新日期
2025-06-11
尺寸
35.6 KB
授權條款
MIT
腳本執行於

WhatsApp Web Blur & Quick Message

A Tampermonkey/Greasemonkey userscript that enhances WhatsApp Web by blurring inactive chats and messages for privacy and adding a quick message feature to contact numbers without saving them.

Features

  • Blur Inactive Chats: Blurs the chat list and message pane, except for the active chat, to enhance privacy.
  • Hover to Reveal: Unblurs chats/messages when hovered over for easy viewing.
  • Quick Message: Adds a button to message a phone number without saving it, using a modal popup.
  • Theme Support: Modal adapts to system light/dark theme for better visibility.
  • Modal Controls:
    • Input field to enter phone numbers (auto-focused).
    • Supports numbers with spaces, dashes, or plus signs (cleaned automatically).
    • "Check Number" and "Close" buttons displayed in a single row.
    • Closes via "Close" button or clicking outside the modal.
  • Dynamic Handling: Uses MutationObserver to handle WhatsApp Web's dynamic content.

Installation

  1. Install a userscript manager like Tampermonkey or Greasemonkey.
  2. Copy the script from whatsapp-blur-and-message-userscript.js (version 1.2.7).
  3. Paste it into a new script in your userscript manager.
  4. Save and visit WhatsApp Web.

Usage

  • Blur: Inactive chats and messages are blurred automatically. Hover over them to unblur.
  • Quick Message:
    1. Click the message icon button (next to the WhatsApp title).
    2. In the modal, enter a phone number with the country code (e.g., +1234567890).
    3. Click "Check Number" to open a chat with the number (spaces, dashes, or plus signs are ignored).
    4. Click "Close" or outside the modal to dismiss it.

Requirements

  • A userscript manager (e.g., Tampermonkey).
  • WhatsApp Web (https://web.whatsapp.com/).
  • Modern browser supporting matchMedia for theme detection and MutationObserver for dynamic content.

Notes

  • The script does not save or store any data.
  • The input field is styled with a dark background for consistency across themes.
  • No keyboard shortcuts (Enter or Esc) are used to avoid interference; use buttons or outside clicks for actions.

License

MIT License

Author

Noushad Bhuiyan

Version

1.2.7