title = "Working Around GitHub Browser Sniffing to Get Better Emoji on Linux"
date = 2020-06-19T18:03:43+10:00
# [extra]
# updated = 2020-06-19T09:30:00+10:00
+++
I have my system configured[^1] to use [JoyPixels] for emoji, which I consider
vastly more attractive than Noto Color Emoji. Sadly GitHub uses browser
sniffing to detect Linux user-agents and replaces emoji with (badly aligned)
images of Noto Color Emoji. They don't do this on macOS and Windows. In this
post I explain how I worked around this.
<!-- more -->
<divclass="text-center">
<imgsrc="github-emoji-before-after.png"style="max-width: 530px; max-width: min(530px, 100% - 32px); border: 1px solid #e1e4e8; padding: 0 16px; background-color: white;"alt="Screenshot of GitHub showing two comments, one with emoji set in the Noto Color Emoji font, the other in the JoyPixels Font.">
</div>
The solution is simple: make GitHub think you're using a Mac or Windows PC.
There are various ways to change the User-Agent string of Firefox. The easiest