Fingerprinting behaviour
yuccai opened this issue · comments
Hello,
Currently, when pica detects that fingerprinting protection is enabled, it throws an error.
Could it be possible to only throw a warning instead of blocking whole process ?
Why is randomization so problematic for Pica? And is it possible to have a workaround? Such as a warning, a non strict mode or a degraded result?
Because we don't control the browser the user is using 🤔
This is the function that detects anti fingerprinting randomization:
Lines 139 to 162 in 34e82a5
When anti fingerprinting randomization is detected by Pica, an error is thrown:
Lines 653 to 658 in 34e82a5
More about anti fingerprinting:
Here is nothing to fix. If FF fingerprint protection enabled, pica become completely unusable. And throws error as expected. It's programmer's responsibility to check for success of resize call, and decide what to do without resize.
We do the best of possible - provided descriptive error of failure.
We experienced a possible false positive of the fingerprinting detection. It was reported by a user on iOS with WKWebView.
However I dont see how that could happen based on the code above when not using fingerprinting detection.