Correct syntax for privacy.fingerprintingProtection.granularOverrides?
Hello,
I am trying to force two or three websites to detect my timezone as UTC, even though my local system time is not UTC. I figured out how to do this with ALL sites by setting privacy.fingerprintingProtection to "true" and entering "+JSDateTimeUTC" in privacy.fingerprintingProtection.overrides in about:config.
Now according to docs, privacy.fingerprintingProtection.granularOverrides "can be used to add or remove features on a domain granular level if privacy.fingerprintingProtection is enabled," but I can't figure out how to get it working.
Any input is appreciated.
Ọ̀nà àbáyọ tí a yàn
Someone needs to write some documentation for this feature. Or at least make it come up in Google.
In the source code, there is a SCHEMA definition that refers to three properties: overrides, firstPartyDomain, thirdPartyDomain. https://searchfox.org/mozilla-release/source/toolkit/components/resistfingerprinting/FingerprintingWebCompatService.sys.mjs#22
For the overrides it says to refer to https://searchfox.org/mozilla-central/source/toolkit/components/resistfingerprinting/RFPTargets.inc, a file that lists a lot of different kinds of events and properties, but doesn't really explain what you can do with them.
After some trial and error, it looks like this is the syntax:
[ { "firstPartyDomain": "jeffersonscher.com" , "overrides": "+WindowOuterSize" }, { "firstPartyDomain": "reddit.com" , "overrides": "+JSDateTimeUTC" } ]
(Without the line break, of course.)
Ka ìdáhùn ni ìṣètò kíkà 👍 1All Replies (2)
Ọ̀nà àbáyọ Tí a Yàn
Someone needs to write some documentation for this feature. Or at least make it come up in Google.
In the source code, there is a SCHEMA definition that refers to three properties: overrides, firstPartyDomain, thirdPartyDomain. https://searchfox.org/mozilla-release/source/toolkit/components/resistfingerprinting/FingerprintingWebCompatService.sys.mjs#22
For the overrides it says to refer to https://searchfox.org/mozilla-central/source/toolkit/components/resistfingerprinting/RFPTargets.inc, a file that lists a lot of different kinds of events and properties, but doesn't really explain what you can do with them.
After some trial and error, it looks like this is the syntax:
[ { "firstPartyDomain": "jeffersonscher.com" , "overrides": "+WindowOuterSize" }, { "firstPartyDomain": "reddit.com" , "overrides": "+JSDateTimeUTC" } ]
(Without the line break, of course.)
Excellent, sir! This was the solution!
Thank you!