Replaces EACH message character in mattermost with an emoji (1 char = 1 emoji)
Tampermonkey userscript (distributed via GreasyFork) that replaces each message character with an emoji mask.
The script supports:
https://community.mattermost.com/ and ensure the script is enabled.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.https://your-mm-domain.example.com/*).targets)replacementEmoji)selectors)The script expects this config shape:
configVersion: numberremoteConfigUrl: stringremoteFetchTimeoutMs: numberremoteCacheTtlMs: numberreplacementEmoji: stringtargets: object (username -> YYYY-MM-DD)selectors:
postContainer: string[]postRoot: string[]avatar: string[]time: string[]messageBody: string[]sameUserClass: stringDefault remote config URL (currently used by the script out of the box):
You can host JSON on any URL that returns public JSON over HTTPS:
Remote URL configuration:
GM_setValue).DEFAULT_REMOTE_CONFIG_URL.Available commands:
roosterUndo()roosterStats()roosterTest("hello")roosterConfigInfo()roosterReloadConfig()localStorage with key from CACHE_KEY.CONFIG_URL_STORAGE_KEY.