MM Rooster Filter

Replaces EACH message character in mattermost with an emoji (1 char = 1 emoji)

Bu betiği kurabilmeniz için Tampermonkey, Greasemonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği yüklemek için Tampermonkey gibi bir uzantı yüklemeniz gerekir.

Bu betiği kurabilmeniz için Tampermonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği kurabilmeniz için Tampermonkey ya da Userscripts gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği indirebilmeniz için ayrıca Tampermonkey gibi bir eklenti kurmanız gerekmektedir.

Bu komut dosyasını yüklemek için bir kullanıcı komut dosyası yöneticisi uzantısı yüklemeniz gerekecek.

(Zaten bir kullanıcı komut dosyası yöneticim var, kurmama izin verin!)

Bu stili yüklemek için Stylus gibi bir uzantı yüklemeniz gerekir.

Bu stili yüklemek için Stylus gibi bir uzantı kurmanız gerekir.

Bu stili yükleyebilmek için Stylus gibi bir uzantı yüklemeniz gerekir.

Bu stili yüklemek için bir kullanıcı stili yöneticisi uzantısı yüklemeniz gerekir.

Bu stili yüklemek için bir kullanıcı stili yöneticisi uzantısı kurmanız gerekir.

Bu stili yükleyebilmek için bir kullanıcı stili yöneticisi uzantısı yüklemeniz gerekir.

(Zateb bir user-style yöneticim var, yükleyeyim!)

Yazar
rift0nix
Günlük kurulumlar
0
Toplam kurulumlar
1
Değerlendirmeler
0 0 0
Versiyon
3.2.1
Oluşturulma
13.03.2026
Güncellenme
13.03.2026
Boyut
15,7 KB
Lisans
MIT
Geçerli

MM Rooster Filter (Tampermonkey)

Tampermonkey userscript (distributed via GreasyFork) that replaces each message character with an emoji mask.

The script supports:

  • Remote JSON configuration
  • Local config cache with TTL
  • Fallback selectors for unstable DOM markup

Quick Start

  1. Install Tampermonkey in your browser.
  2. Install this script from GreasyFork.
  3. Open https://community.mattermost.com/ and ensure the script is enabled.
  4. You can not use the script as-is (default remote config is already preconfigured in DEFAULT_REMOTE_CONFIG_URL). You need your own config, click Tampermonkey extension icon on that page and run menu command Set remote config URL. Paste your own public raw JSON URL and reload the page. Example config: just set your targets (mm logins) on line 6.
  5. If you use a private/self-hosted Mattermost server, add a custom userscript match for that domain in Tampermonkey settings (for example: https://your-mm-domain.example.com/*).

Features

  • Per-user start date filtering (targets)
  • Configurable replacement emoji (replacementEmoji)
  • Configurable DOM selectors with fallback arrays (selectors)
  • Safe startup flow:
    1. load cached config (if available)
    2. use defaults if cache is missing
    3. refresh from remote when TTL expires

Configuration model

The script expects this config shape:

  • configVersion: number
  • remoteConfigUrl: string
  • remoteFetchTimeoutMs: number
  • remoteCacheTtlMs: number
  • replacementEmoji: string
  • targets: object (username -> YYYY-MM-DD)
  • selectors:
    • postContainer: string[]
    • postRoot: string[]
    • avatar: string[]
    • time: string[]
    • messageBody: string[]
    • sameUserClass: string

Default remote config URL (currently used by the script out of the box):

Remote config hosting

You can host JSON on any URL that returns public JSON over HTTPS:

  • GitHub Gist (raw URL)
  • GitHub repository raw file URL
  • S3 / Cloudflare R2 / CDN

Remote URL configuration:

  • Preferred way: use Tampermonkey menu command Set remote config URL (stored via GM_setValue).
  • Fallback/default URL is defined by DEFAULT_REMOTE_CONFIG_URL.

Console commands

Available commands:

  • roosterUndo()
  • roosterStats()
  • roosterTest("hello")
  • roosterConfigInfo()
  • roosterReloadConfig()

Notes

  • Config cache uses localStorage with key from CACHE_KEY.
  • Remote config URL (from UI menu) is stored in Tampermonkey value storage key CONFIG_URL_STORAGE_KEY.
  • If remote config fails to load, the script keeps active cached/default config.