Sykje yn Support

Mij stipescams. Wy sille jo nea freegje in telefoannûmer te beljen, der in sms nei ta te stjoeren of persoanlike gegevens te dielen. Meld fertochte aktiviteit mei de opsje ‘Misbrûk melde’.

Learn More

Correct syntax for privacy.fingerprintingProtection.granularOverrides?

  • 2 antwurd
  • 0 hawwe dit probleem
  • Lêste antwurd fan RSizington

more options

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.

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.

Keazen oplossing

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.)

Dit antwurd yn kontekst lêze 👍 1

Alle antwurden (2)

more options

Keazen oplossing

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.)

Behelpsum?

more options

Excellent, sir! This was the solution!

Thank you!

Behelpsum?

In fraach stelle

Jo moatte jo oanmelde by jo account om op berjochten te antwurdzjen. Stel in nije fraach as jo noch gjin account hawwe.