Skip to content
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

Fingerprint changes on refresh #254

Closed
jdsenecal opened this issue Jun 8, 2017 · 6 comments
Closed

Fingerprint changes on refresh #254

jdsenecal opened this issue Jun 8, 2017 · 6 comments

Comments

@jdsenecal
Copy link

jdsenecal commented Jun 8, 2017

Hello!
I'm experiencing a strange issue. On initial page load, i get a particular Fingerprint (Print A), but when I refresh the page, I get a different one (Print B).
The two fingerprints are different, but they're consistent. On initial load, Print A always shows, but Print B shows whenever I refresh the page.

Any ideas?
Currently testing on Windows 10.
Chrome Version 58.0.3029.110 (64-bit) appears to be where the issue is occurring.
IE 11 so far appears to be working as expected.

@Valve
Copy link
Contributor

Valve commented Jun 8, 2017 via email

@jdsenecal
Copy link
Author

Unfortunately, no. No external GPU. :(
Could it be related to plugins getting loaded on initial page load (adblock being one in particular)?

@Valve
Copy link
Contributor

Valve commented Jun 8, 2017 via email

@amuagarwal
Copy link

Even i am facing the same issue and this problem started after updating Chrome to version 58.0.3029.110 (64-bit). Any help will be very useful to get the unique id on each refresh.

@jdsenecal
Copy link
Author

So, from my perspective, this appears to be due to browser plugins. What I ended up doing was I delayed the generation of the fingerprint until after the page completely loads. This appears to have resolved the issue from what I can see.

@tkalfigo
Copy link

I had same issue.

Though I cannot be 100% sure, I believe adding in the constructor the option excludeAdBlock: true seems to have solved it.

I am now getting the same fp over multiple reloads.

GrosSacASac pushed a commit to GrosSacASac/fingerprintjs2 that referenced this issue Sep 19, 2018
jonashaag pushed a commit that referenced this issue Sep 20, 2018
* use valid html

* rename oncompleteTimeout

* refactor: remove unnecessary keys reassignement

* Give example of setTimeout

fixes #307
#254

* Refactor, avoid innerHTML, fingerprint on load, avoid escapeHTML hack

* 1.8.0 -> 1.8.1

* 1.8.0 -> 1.8.2

* 1.8.0 -> 1.8.2

* revert image removal

* drop node 5,7,9

* avoid fingerprint, in case we click before the idleCallback

* recommen requestIdleCallback in the example

* add a comment to go read the note in the README.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants