-
Notifications
You must be signed in to change notification settings - Fork 232
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
An option to hide CPU cores number #181
Comments
Hmm. It sounds like the Tor Browser has this settings at |
https://wiki.whatwg.org/wiki/NavigatorCores#Privacy_considerations |
Somewhat related: #13027 (Make WebWorkers use spoofed navigator.* useragent values) |
I don't think |
dom.workers.maxPerDomain set to 0 is an incorrect choice.
Like #128 it's Webworkers that test your browser. These scripts ignore the webpage CSP and I don't know yet if Request Policy has similar features. |
privacy.resistFingerprinting [FF55+ .. only 7 more weeks to go, hang in there!!]
They use 2 since that is the most common metric - https://metrics.mozilla.com/firefox-hardware-report/ Meanwhile: DON'T use this one - fairly sure (and not just me) that this will cripple/affect performance - imagine having 16 cores and being limited to 2 [we could of course be wrong about this - I've never tested e10s with this pref etc, but now 54 is here, maybe someone could have a play] /* 2514: spoof (or limit?) number of CPU cores (also see 2699f) (FF48+)
* [WARNING] *may* affect core chrome/Firefox performance, will affect content.
* Highly recommended to leave this (dom) and use 2699f (navigator)
* [1] https://bugzilla.mozilla.org/show_bug.cgi?id=1008453
* [2] https://trac.torproject.org/projects/tor/ticket/21675
* [3] https://trac.torproject.org/projects/tor/ticket/22127
* [4] https://html.spec.whatwg.org/multipage/workers.html#navigator.hardwareconcurrency ***/
// user_pref("dom.maxHardwareConcurrency", 2); Meanwhile ... https://bugzilla.mozilla.org/show_bug.cgi?id=1333933 which was going to enforce pref values for privacy.resistFingerprinting, has been dropped effectively in favor of enforcing it in code (see the first code snippet above re ticket https://bugzilla.mozilla.org/show_bug.cgi?id=1360039). This ticket listed So .. all in all, if anyone has 55, enable |
Since latest versions of Tor Browser, the default value of |
Thanks for bumping. It's done now. Commit 2a5aa10 also relates 😝 |
This should IMO be 2, not 1. This is not the Tor browser, it is Firefox and you cannot hide that. The best metric is 2 (most common) and will have less impact on FF itself. RFP also uses 2. |
Fixed in f625e4a. Thanks! |
Javascript reveals your CPU cores number (even with a CPU override option) as we can see here :
So I found out an option to fake this, in about:config, limit "dom.workers.maxPerDomain" to the number that you want (0 = no threads (Tor displays no threads with these websites)) and restart Firefox.
EDIT : This thing has been integrated only since the 48 version of Firefox, I tested with the 47 version and it displays no threads, like Tor. (there is no line "Hardware Concurrency" in browserleaks while there is one in the 48)
So if you're using a useragent that displays a version prior to 48, you should logically put 0.
The text was updated successfully, but these errors were encountered: