Replace Twitter/X's Twemoji images with your operating system's native emoji using a tiny userscript.
This userscript swaps emoji image elements for their emoji character (from the alt text) and applies a native emoji font stack so your OS renders them natively.
Recommended: install with a userscript manager such as Tampermonkey, Violentmonkey, or Greasemonkey.
-
Install a userscript manager in your browser (Tampermonkey is popular).
-
Install the userscript directly from the raw GitHub URL:
Manual install options:
- Download
twitteremojis.user.jsfrom this repository and add it to your userscript manager. - Paste the script into a browser extension that supports custom scripts.
Tips:
- Make sure the userscript is enabled for
https://twitter.com/*andhttps://*.twitter.com/*(orhttps://x.com/*depending on your hostname). - If something looks off, try disabling other styling/user scripts that also touch emoji or fonts.
- Make sure developer options are turned on inside your browser!
Contributions are welcome β small fixes, edge-case handling, and tests are all appreciated.
Every commit message should be created using git-cz and follow the .git-cz.json configuration in this repository.