Skip to content
TopicTracker
From HackerNewsView original
TranslationTranslation

IsChinaByEmoji – A way for browser to detect if a user is from China

A browser-based detection method named IsChinaByEmoji identifies whether a user is from China by analyzing the emoji support available on their device, leveraging differences in emoji rendering across regions.

Background

- A small open-source JavaScript tool that detects if a browser user is likely in mainland China by checking which emoji characters render correctly. Different operating systems and devices popular in China (WeChat's built-in browser, Huawei phones, certain Android skins) display some emoji differently or not at all — the script uses those rendering differences as a fingerprint. - It's part of a broader cat-and-mouse game: many foreign websites and services blocked inside China (social media, VPN providers, streaming platforms) try to identify and exclude Chinese users, while Chinese users use VPNs, spoofed user-agents, and other methods to get around blocks. - The detection is crude and can be defeated — emoji rendering depends on OS updates and font files — but it shows how far developers will go to enforce or evade internet borders.

Related stories