Remix.run Logo
IsChinaByEmoji – A way for browser to detect if a user is from China(github.com)
9 points by phantomathkg 10 hours ago | 3 comments
ValdikSS 8 hours ago | parent | next [-]

    - /** Determine if the current device is from mainland China using Emojis
    - * If the *Taiwan flag* characters cannot be displayed in color (rendered as black and white letters or not rendered at all), it indicates a device more likely to be from mainland China.
    - * To avoid false positives, *smiley face* will be used as a comparison:
    - * If the device cannot even render regular Emojis in color (such as Linux without colored Emoji fonts,
    - * a browser with fingerprint protection enabled), it returns null to indicate that it cannot determine the source, rather than falsely reporting true. */
CatMustard 7 hours ago | parent | prev | next [-]

Location via censorship detection, clever!

someonebaggy 7 hours ago | parent | prev [-]

Canvas pixel readback is a common fingerprinting vector, isn't it blocked behind a permission popup?