SVG Country Flag Emoji --Q

Quarrel
2025-08-12T06:23:18Z

Replace all flag emojis with SVG images, initially started as a way to fix the 🇦🇺 being rendered as AU in Chrome in particular, although I now have a better solution - see https://github.com/quarrel/broken-flag-emojis-win11-twemoji.

This userscript replaces country flag emojis with SVG images from the Twemoji project. This is particularly useful in browsers like Chrome where some flag emojis may not render correctly.

Initially started as a way to fix the flag emojis like, 🇦🇺, being rendered as AU in Chrome on Windows. I now have a better direct font solution.

It was an interesting digression in debouncing and avoiding CSP issues, while keeping it performant.