DM Hover Peek (X + Facebook/Messenger) By DomfoRat
by leclercjweb
v1.0.2 Updated Jan 27, 2026 65.71KiB
Description
DM Hover Peek (X + Facebook/Messenger) ๐ฌ๐ โ hover previews for DMs
DM Hover Peek adds a floating tooltip that follows your cursor and displays text from the conversation item youโre hovering. Itโs a โpeekโ layer that helps you read whatโs already on the page without opening the thread.
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ
What this extension does (exactly what the code implements)
โขCreates a tooltip element in the page (id: dmpeek-tooltip)
โขCreates a small on-screen badge (id: dmpeek-badge) in the bottom-right (enabled in this build)
โขShows the tooltip on pointer hover over a matching conversation item / thread link
โขUpdates tooltip position on pointer move so it follows your cursor
โขHides the tooltip when the pointer leaves the active element
โขDisplays text extracted from the hovered element (ARIA attributes / visible text)
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ฅ๏ธ Tooltip UI details (from the injected CSS)
โขFixed position, very high z-index (2147483647)
โขMax width: 640px
โขMax height: 380px
โขScrollable when content exceeds the height (overflow:auto)
โขPadding: 10px 12px
โขRounded corners: 12px
โขBackground: rgba(15,15,15,.92) with blur (backdrop-filter: blur(10px))
โขText: white, 12px system-ui, pre-wrapped (white-space: pre-wrap)
โขShadow: 0 12px 40px rgba(0,0,0,.35)
โขPointer-events: none (the tooltip itself will not capture clicks)
โขHidden by default (display:none) and toggled on hover
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ Supported websites (where the extension is allowed to run)
โขx.com
โขtwitter.com
โขwww.facebook.com
โขwww.messenger.com
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ฆ X (Twitter) behavior
The X script runs ONLY if BOTH conditions are true:
โขHostname is x.com or twitter.com
โขPath starts with /messages or /i/chat
How it detects what youโre hovering:
โขIt walks up the DOM from the hovered target (up to 12 parents) to find a โcandidateโ element
โขCandidate #1: data-testid starts with dm-conversation-item-
โขCandidate #2: aria-description contains โ, @โ (comma + space + at-sign), matching the inbox pattern
What text it shows (priority order):
โขaria-description (first choice)
โขaria-label (fallback)
โขinnerText (fallback)
Message extraction on X (when aria-description is present):
โขThe code attempts to extract the โMESSAGEโ part from a pattern like:
Name, @handle, MESSAGE, timeโฆ
โขIt searches for common โtimeโ tokens to decide where the message ends, including:
min, h, j, sem, mois, hier, aujourd'hui, now, today, yesterday
โขIf extraction succeeds, the tooltip shows the extracted MESSAGE
โขIf extraction fails, it shows the full aria-description (trimmed)
Result: depending on what X exposes in aria-description / aria-label, the tooltip may show a clean message snippet or a longer accessibility string.
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ Facebook / Messenger behavior
The Facebook/Messenger script runs when:
โขHostname is www.facebook.com
OR www.messenger.com
Where it triggers:
โขIt looks for hovered links (a[role="link"]) that match message thread URL patterns
โขFacebook patterns include:
/messages/e2ee/t/
/messages/t/
(and variations using href^= and href*=)
โขMessenger patterns include:
/t/
(and variations using href^= and href*=)
What text it shows (priority order):
โขVisible link text (innerText)
โขaria-label (fallback)
โขhref (fallback)
Result: depending on what Facebook/Messenger renders inside the link, the tooltip may show a name, snippet, or other text available in the link.
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ Privacy & โdata safetyโ (only what the shipped files show)
โขNo analytics SDK is present in these scripts
โขNo chrome.storage usage is present (no chrome.storage / browser.storage calls)
โขNo network calls are present in the content scripts (no fetch/XHR/WebSocket usage)
โขNo background/service worker is included in the provided manifest
โขThe extensionโs logic is limited to:
reading text/attributes from hovered elements
rendering a tooltip + badge inside the page
Important clarification:
โขX/Facebook/Messenger themselves may load message previews dynamically
โขThis extension does not โpullโ extra content from servers
โขIt only displays what it can read from elements already present in the page at the moment you hover
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ Permissions (from manifest.json)
This extension requests access only to these host patterns:
โขhttps://x.com/
*
โขhttps://twitter.com/
*
โขhttps://www.facebook.com/
*
โขhttps://www.messenger.com/
*
It does not request access to all websites.
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐งญ How to use (what the code supports)
โขOpen your inbox on X (Messages) or Facebook/Messenger
โขMove your mouse over a conversation item (X) or a thread link (Facebook/Messenger)
โขA tooltip appears near your cursor and follows it while you stay hovered
โขMove away and it disappears
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ ๏ธ Limitations (directly implied by how the code works)
โขHover-based: it relies on pointer events (pointerover/pointermove/pointerout)
โขX-only on DM pages: it does not run on other x.com pages (by design)
โขFacebook/Messenger: it only triggers on links that match the message thread URL patterns
โขIf the site changes its DOM, aria strings, or URL patterns, the hover target may stop matching until the selectors are updated
โขThe tooltip can only show text that exists in the DOM/attributes at hover time (no hidden โextraโ messages)
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐งฉ Transparency: identifiers created by the extension
โขTooltip element id: dmpeek-tooltip
โขBadge element id: dmpeek-badge
โขBadge text on X: โDMpeek ON (X)โ
โขBadge text on Facebook/Messenger: โDMpeek ON (FB)โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ FAQ (kept strictly factual)
Q: Does it send my messages to a server?
A: The shipped content scripts contain no network calls and only render a tooltip in-page.
Q: Does it store my messages?
A: The shipped scripts contain no storage calls (no chrome.storage usage).
Q: Does it run everywhere?
A: No. The manifest limits it to x.com, twitter.com, facebook.com, and messenger.com. The X script also checks the path and exits unless you are on /messages or /i/chat.
Q: Why might the tooltip show different text than expected?
A: On X it prioritizes aria-description and may show the extracted message snippet or the full aria-description if extraction fails. On Facebook/Messenger it prioritizes the linkโs innerText, then aria-label, then href.
Q: Can it reveal content that isnโt visible on the page?
A: It reads from DOM text/ARIA attributes. If the platform doesnโt provide preview text in those fields, there is nothing extra to display.
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ Disclaimer
โขNot affiliated with X/Twitter or Meta/Facebook/Messenger.
โขThis extension does not click buttons, send messages, or automate actions. It only displays a hover tooltip based on page text/attributes.
Reviews
Loading reviews...
Details
| Version | 1.0.2 |
| Updated | Jan 27, 2026 |
| Size | 65.71KiB |
| First Seen | Mar 27, 2026 |
More by leclercjweb
Temu and Shein Blocker for Google
by leclercjweb
2K
โ
4.47
tools
2K
โ
4.47
tools
DomfoRat - Find Available Expired Domain Names
by leclercjweb
159
โ
5.00
tools
159
โ
5.00
tools
Pantone Sniffer
by leclercjweb
63
โ
0.00
tools
63
โ
0.00
tools
Playlist Manager Pro for Youtube
by leclercjweb
25
โ
0.00
tools
25
โ
0.00
tools
DAE Urgence - Gestes de Secours
by leclercjweb
24
โ
5.00
tools
24
โ
5.00
tools
Popular in communication
Grammarly: AI Writing Assistant and Grammar Checker App
by Grammarly
42M
โ
4.50
communication
42M
โ
4.50
communication
Loom โ Screen Recorder & Screen Capture
by Loom
8M
โ
4.58
communication
8M
โ
4.58
communication
QuillBot: AI Writing and Grammar Checker Tool
by quillbot
5M
โ
4.69
communication
5M
โ
4.69
communication
DeepL: translate and write with AI
by team-browser-extensions
4M
โ
4.73
communication
4M
โ
4.73
communication
Email Tracker by Mailtrackยฎ
by Mailsuite
3M
โ
4.42
communication
3M
โ
4.42
communication
Popular Extensions
Adobe Acrobat: PDF edit, convert, sign tools
by Adobe Inc.
322M
โ
4.40
workflow
322M
โ
4.40
workflow
AdBlock โ block ads across the web
by AdBlock
62M
โ
4.48
workflow
62M
โ
4.48
workflow
่ฟ
้ทไธ่ฝฝๆฏๆ
by Shenzhen Xunlei Network Technology Co., Ltd.
59M
โ
2.77
workflow
59M
โ
2.77
workflow
Grammarly: AI Writing Assistant and Grammar Checker App
by Grammarly
42M
โ
4.50
communication
42M
โ
4.50
communication
Adblock Plus - free ad blocker
by eyeo GmbH
40M
โ
4.39
workflow
40M
โ
4.39
workflow