r/learnjavascript • • 3h ago

can you change browser fingerprint at a js (or hardware) level

hi

can you change browser fingerprints from javascirpt

i want to use js but i hate fingerprinting

0 Upvotes

9 comments sorted by

2

u/shgysk8zer0 3h ago

A fingerprint isn't like an ID or some fixed string/value. It's not "a fingerprint" (noun) but "fingerprinting" (verb/method). How unique some detectable things are in your browser. And disabling JS as a user makes your traffic highly unique.

You're already sending your IP and User Agent (browser + OS + version) with every request. Disabling JS makes you highly unique even if you use a VPN.

1

u/adrianchristianherna 3h ago

so can you get good pseduonymiy if you use good vpn and spoof js? (idk where the hardware spoofing advice is its not popular)

1

u/realmauer01 3h ago

Hm i guess, but can the website actually detect that on a server level? The browser will show the websites no script content, but thats the browser and not the server.

1

u/shgysk8zer0 2h ago

Suppose this on two different sites.

<noscript>
  <img src="//tracking.net/track?type=no-js">
</noscript>

Associate the with IP and UA string and it's quite easy to tell it's the same user on both sites. With higher precision than eg detecting screen size and some hardware info.

1

u/realmauer01 2h ago

Hmmm, interesting. But thats kinda the browsers fault for making a secondary load.

1

u/Krestek 42m ago

whatever your browser does differently than others is what makes fingerprinting possible, ip will be different (behind nat lots of users share an ip though and that changes daily), and if you use an adblock some ads won't load so that is taken into account as well, if you use a cookies skipper those won't load either, now you have ip/rough location, whether you use an adblocker, whether you block cookie prompts, your specific browser agent (browser, version of it), your browser window size, and so on. the more you customize it or hide things on purpose the more unique you seem because most people don't put that much effort

1

u/realmauer01 17m ago

That's the thing though isn't it, you spoof the things that are worth spoofing and how the things that can't be spoofed

1

u/realmauer01 3h ago

Almost no website works without javascript. You can install noscript and have firefox on the strictest anonymity settings, that makes it very hard to redetect your browser just by traffic.

1

u/adrianchristianherna 2h ago

blocks everything 😭