Skip to content

Accessing webcam data is broken by canvas fingerprinting protections (firefox, or any browser with adblockers) #398

@clementpoiret

Description

@clementpoiret

Please follow the general troubleshooting steps first:

Bug reports:

When fingerprinting protections are in place, such as in Firefox when privacy.resistFingerprinting is true, or when a user uses any kind of privacy-preserving addons such as adblock plus, webcamRef.current.getScreenshot(); is corrupted. Here is the console warning inside Firefox's Console :

Blocked third party https://cdpn.io/mozmorris/fullpage/gOOoqpw?anon=true&view= from extracting canvas data.

Related to:
https://support.mozilla.org/en-US/questions/1398931

The official example is simply a reproduction: https://codepen.io/mozmorris/pen/gOOoqpw

This also happens in first-party when "no user input is detected".

Are you aware of any other way to access the frames of the video without depending on what the canva is drawing?

As more and more users are using tools to enhance their privacy, the getScreenshot() fn will fail more and more in the future...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions