WhatsApp Web Blur & Quick Message

Blurs inactive WhatsApp chats/messages, unblurs on hover, enables messaging without saving numbers, and toggles blur societfor unread messages.

Forfatter
NoushadBug
Daglige installasjoner
0
Totale installasjoner
1
Vurderinger
1 0 0
Versjon
1.2.15
Lagd
01.06.2025
Oppdatert
02.06.2025
Size
13,1 kB
Lisens
MIT
Gjelder

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