Last active
July 28, 2026 11:41
-
-
Save FelikZ/1f159245958b2fa922f4d7840313e7f5 to your computer and use it in GitHub Desktop.
Disable HDR emojis in Google Chat
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // ==UserScript== | |
| // @name Disable HDR Emojis in Google Chat | |
| // @namespace http://tampermonkey.net/ | |
| // @version 1.1 | |
| // @description Clamp custom emoji brightness to disable HDR/bloom effects in Google Chat. | |
| // @author Alexey Shevchenko | |
| // @match https://chat.google.com/* | |
| // @grant GM_addStyle | |
| // ==/UserScript== | |
| (function () { | |
| 'use strict'; | |
| // Custom emoji images sometimes have a brightness filter applied that produces | |
| // an HDR/bloom effect. Clamping brightness to 1 disables that effect. | |
| GM_addStyle(` | |
| img[data-shortcode^=':'][data-shortcode$=':'][src*='/api/get_custom_emoji_image?'], | |
| img[alt^=':hdr-'][src*='/api/get_custom_emoji_image?'] { | |
| filter: brightness(1) !important; | |
| } | |
| `); | |
| })(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment