this post was submitted on 23 Jun 2025
46 points (94.2% liked)
Open Source
38174 readers
188 users here now
All about open source! Feel free to ask questions, and share news, and interesting stuff!
Useful Links
- Open Source Initiative
- Free Software Foundation
- Electronic Frontier Foundation
- Software Freedom Conservancy
- It's FOSS
- Android FOSS Apps Megathread
Rules
- Posts must be relevant to the open source ideology
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
- !libre_culture@lemmy.ml
- !libre_software@lemmy.ml
- !libre_hardware@lemmy.ml
- !linux@lemmy.ml
- !technology@lemmy.ml
Community icon from opensource.org, but we are not affiliated with them.
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
by sensitive information I'm referring to
Can I prevent javascript from running specific command that retrieve these information?
I found chameleon which spoof local machine operating system + version and browser information. But I'm not sure about other information
Most of those things cannot be collected through JavaScript.
Local time can.
RAM can only be approximated to protect user privacy. Edit: And it's not available on Firefox.
OS+version are already in your browser's user-agent string that is sent out with every request you make.
Machine hardware cannot be enumerated. JavaScript can try to guess your GPU based on what it can do with WebGL.
There is no way to get a serial number or similar.
But if you go on to block some of the stuff you make yourself easier to identify. You go from "some guy with Windows" to that "that guy who blocks this and that and also that other thing".
I think it is much more effective to use Ublock Origin and let it do its thing.
Sincere thanks
@bjoern_tantau@swg-empire.de
To spoof timezone/OS+version/browser+version ... and disable WebGL, use https://sereneblue.github.io/chameleon/
I guess spoofing will not make me stand out?
Probably will, because your spoofing might not be perfect and have inconsistencies.
Thank you so very much
Can you link to a source that confirms this information can be collected with JavaScript (with browser comparison, ideally)? That seems outrageous if it was actually possible.
https://amiunique.org/fingerprint
JavaScript is already sandboxed. You can only execute functions where there is an actual API defined by the browser to do so, for example
Date.getTime()
. There is / should be no way to get, say, your device ID. (With the exception of unpatched exploits that allow executing arbitrary code. But keep in mind browsers are likely one of the if not the most security tested software.)What you linked to here appears to specific to Google Tag Manager in a way that I don't fully understand, but is not related to how websites usually execute JavaScript code.
thank you for the clarification