-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Canvas fingerprint depends on page encoding #588
Comments
@chiangandy The demo page uses the freshest version of the code from the |
after I set debug:boolean, I got something like attached file.... So the js code use in demo site is open-source version too? Any information will be appreciated. Andy |
I found issue here. It's little bit weird. I know the issue, but I want to know why the visitor id is different when I run js code in local? I also attach the log infomation (running in local) here. |
@chiangandy Your logs are truncated. Could you please get full logs? Nevertheless, I can see that the canvas component values are different in your logs. Probably, it's caused by #574. Please try to reproduce it using the instructions at #574 (comment). If you success to reproduce, then try add/remove |
@Finesse , so sorry to provide the partial log, let me try to produce it again. Both full logs are attached. private_mode was running js in local and regular is on CDN. About #574 , I have run the comments html to check canvas result. It is difficult to see the differences. But I think you are maybe right if you find the canvas data is different. Anyway, so #574 is a bug issue? will it fix in future version? |
@chiangandy Thank you for the full logs. You experience another problem, the canvas emoji is replaced with random symbols in private mode. It can be caused by wrong encoding; if your browser uses no UTF-8 encoding to read your local JS script, the emoji will break. Please tell me the encoding header returned with the local script. You can do it with dev-tools in any browser or with curl: |
Yes, my html page doesn't set UTF-8 encoding because it is just a test page.
and fs.min.js is loading on in fino.js.
finally I get visitor ID are same in both private and regular mode. So key issue is page encoding. Thanks. the final running log are attached for a references. |
I meant HTTP headers, not HTML headers. Sorry for the ambiguity.
Thank you for reporting, this is a valuable information.
I'm not sure that I understand you. You've answered the question: because you ran pages with different encodings.
The fingerprints are the same, I see no problem. |
Fixed by e073bbd. Will be published in the next NPM release. |
The fixed is published in v3.0.7 |
I start to try the fingerprintjs functions, so far I would like to use open-source version first. I saw the information in demo site https://fingerprintjs.github.io/fingerprintjs/ amd got visitor id. Then I try to use fp.min.js to make an html page to try same function, however I got the different visitor id from demo site shows. since I check all of checking point and everything is same except visitor id. It confuse me. Does demo site use open source version which is same as fp.min.js?
The text was updated successfully, but these errors were encountered: