Przeszukaj pomoc

Unikaj oszustw związanych z pomocą.Nigdy nie będziemy prosić Cię o dzwonienie na numer telefonu, wysyłanie SMS-ów ani o udostępnianie danych osobowych. Zgłoś podejrzaną aktywność, korzystając z opcji „Zgłoś nadużycie”.

Learn More

Correct syntax for privacy.fingerprintingProtection.granularOverrides?

  • 2 odpowiedzi
  • 0 osób ma ten problem
  • Ostatnia odpowiedź od 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.

Wybrane rozwiązanie

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

Przeczytaj tę odpowiedź w całym kontekście 👍 1

Wszystkie odpowiedzi (2)

more options

Wybrane rozwiązanie

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

Pomocne?

more options

Excellent, sir! This was the solution!

Thank you!

Pomocne?

Zadaj pytanie

Aby odpowiadać na posty, musisz zalogować się na swoje konto. Zadaj pytanie, jeśli nie masz jeszcze konta.