Messenger Preview

Preview the appearance of messages sent in Facebook Messenger. Know how bold, italics, strikethrough, code, and math will appear.

Co to jest Messenger Preview?

Messenger Preview to rozszerzenie Chrome opracowane przez Jared Hughes, a jego główną funkcją jest „Preview the appearance of messages sent in Facebook Messenger. Know how bold, italics, strikethrough, code, and math will appear.”.

Zrzuty ekranu rozszerzenia

screenshot

Pobierz plik CRX rozszerzenia Messenger Preview

Pobierz pliki rozszerzeń Messenger Preview w formacie crx, zainstaluj ręcznie rozszerzenia Chrome w przeglądarce lub udostępnij pliki crx znajomym, aby łatwo zainstalować rozszerzenia Chrome.

Instrukcja Użytkowania Rozszerzenia

                        ▶ Update:

This extension no longer works as of December 16th, 2020. Messenger made extensive changes to their user interface, including disabling KaTeX. Since the KaTeX preview was my main motivation for making this, I have no intentions to fix this extension.

However, the number of users has tripled (~30 to 100) since it broke, so I'm leaving this published on the off-chance that it still works for some people.

————————————————————————
————————————————————————

Messenger has many different formatting options, such as bold, italics, strikethrough, monospaced code, and math formatting through KaTeX (a subset of LaTeX). It can be hard to know what a message will look like without sending it once, so this extension shows a preview of how each message will appear before you send it.

Note: the formatting only renders properly on web Messenger. Mobile Messenger does not show any of the formatting.

All previews are performed client-side. None of your information is sent to any third-party server.

See https://www.facebook.com/help/147348452522644 for details on formatting text.

Supported functions in the LaTeX math formatting are at https://www.facebook.com/help/147348452522644.

▶ Usage

Write messages as normal. As you type, you should see a light message appear about where it will appear when you send the message (when it actually sends, your message might attach to the group above it). Sometimes, the preview is a bit hidden, requiring you to scroll down within the chat.

Warning: Sometimes the preview does not show at first. Reload the messenger page once, and it should appear at least until you open another conversation. Reloading the page does *not* delete the contents of the message box.

As usual in Messenger chats, write

• *bold*
• _italics_
• ~strikethrough~
• \(\) to display inline math using LaTeX, e.g. `\(\frac{1}{2}\)`
• \[\] to display math that takes up the whole message. This may include
scrollbars and is useful for long chunks of math.
• `inline code`
• ```full message code```
• for code with syntax highlighting, use

```python
def f(a,b):
    return a + b
```

If necessary, press ctrl+enter to create a newline within a message.

The math uses a subset of KaTeX, which is itself a subset of LaTeX. See the
[Katex Docs](https://katex.org/docs/supported.html) for supported functions.
Some functions only work within math that takes up the whole message
(`\[...\]`). If anything at all is wrong, none of the message will render as
math.

Clicking the three dots to the left of a message then "Show Original" will
remove all formatting from the message.

▶ Limitations
This is an unofficial extension; Facebook might change Messenger at any time which could break this extension.

The extension only works in www.messenger.com and www.facebook.com/messenger, not the preview within www.facebook.com.                    

Podstawowe informacje o rozszerzeniu

Nazwa Messenger Preview Messenger Preview
ID cpimjhhigdjabaeklhlehfaghfeacibn
Oficjalny URL https://chrome.google.com/webstore/detail/messenger-preview/cpimjhhigdjabaeklhlehfaghfeacibn
Opis Preview the appearance of messages sent in Facebook Messenger. Know how bold, italics, strikethrough, code, and math will appear.
Rozmiar pliku 12.63 KB
Liczba instalacji 126
Aktualna Wersja 0.1
Ostatnia Aktualizacja 2021-04-02
Data Publikacji 2019-12-24
Ocena 5.00/5 Łącznie 3 Oceny
Deweloper Jared Hughes
E-mail [email protected]
Typ Płatności free
Obsługiwane Języki en
manifest.json
{
    "update_url": "https:\/\/clients2.google.com\/service\/update2\/crx",
    "name": "Messenger Preview",
    "version": "0.1",
    "description": "Preview the appearance of messages sent in Facebook Messenger. Know how bold, italics, strikethrough, code, and math will appear.",
    "permissions": [
        "*:\/\/www.messenger.com\/**",
        "*:\/\/www.facebook.com\/messages\/**"
    ],
    "icons": {
        "128": "images\/icon128.png"
    },
    "content_scripts": [
        {
            "matches": [
                "*:\/\/www.messenger.com\/t\/*",
                "*:\/\/www.facebook.com\/messages\/**"
            ],
            "js": [
                "content.js"
            ]
        }
    ],
    "web_accessible_resources": [
        "script.js"
    ],
    "manifest_version": 2
}