Skip to content
This repository was archived by the owner on Sep 26, 2023. It is now read-only.
This repository was archived by the owner on Sep 26, 2023. It is now read-only.

Brave breaks emoji support detection #263

Description

@dEEpProjects

On Brave (macOS Big Sur), the emoji picker shows emojis not supported by the platform.

brave issue

Please check the following fiddle on Brave on a system that doesn't support Emoji 14:
https://jsfiddle.net/ugewta0r/

It seems caused by Brave's fingerprinting protections, which causes getImageData method returns inconsistent values.
I see that you use this method on your codebase for emoji support detection.

When I disable the protection, all seems to work fine.

Below you can find some useful discussions:
brave/brave-browser#9591
koala-interactive/is-emoji-supported#14

Maybe you could compare more than one pixel on your logic or allow slight color differences than the expected black.

Thanks for your great work!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedExtra attention is neededtriagedIssue has been looked at and triaged

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions