How bielcerroni/privacidade-whatsapp works
Neblina is a local Chrome extension that lets a user configure visual privacy for WhatsApp Web. The popup edits shared preferences; the background service worker initializes them and handles the keyboard toggle, while the content script reads changes and applies protection to the page. The documented protection features include message and media blur, names and avatars, hover reveal, shield mode, adjustable intensity, and optional tab-title hiding. The excerpts show key storage and DOM-observation relationships, but not every feature implementation in the content script.
Main entry points: background.js Shortcut and badge · content.js Visual protections · popup.js Settings panel · config.js Preferences and presets
Components 10
Controls
- Settings panel
popup/popup.js - Shortcut and badge
background.js
Shared settings
- Preferences and presets
shared/config.js - Local preferences
WhatsApp protection
- DOM scanning
src/content.js - Visual protections
src/content.js - Blur styling
src/blur.css
Other components
- User
- WhatsApp Web
- Chrome APIs
Connections 14
- User → Settings panel: configures
README.md - Settings panel → Preferences and presets: normalizes settings
popup/popup.js - Settings panel → Local preferences: reads and writes
popup/popup.js - User → Shortcut and badge: uses shortcut
README.md - Shortcut and badge → Preferences and presets: normalizes settings
background.js - Shortcut and badge → Local preferences: initializes and toggles
background.js - Shortcut and badge → Chrome APIs: updates badge
background.js - Local preferences → DOM scanning: settings change
README.md - DOM scanning → Preferences and presets: normalizes settings
src/content.js - WhatsApp Web → DOM scanning: hosts script
README.md - DOM scanning → Visual protections: scans page
src/content.js - Visual protections → Blur styling: applies styles
- Visual protections → WhatsApp Web: masks page content
README.md - Visual protections → Local preferences: shield action saves settings
src/content.js