Avatar for Username

ძიება მხარდაჭერაში

ნუ გაებმებით თაღლითების მახეში მხარდაჭერის საიტზე. აქ არასდროს მოგთხოვენ სატელეფონო ნომერზე დარეკვას, შეტყობინების გამოგზავნას ან პირადი მონაცემების გაზიარებას. გთხოვთ, გვაცნობოთ რამე საეჭვოს შემჩნევისას „დარღვევაზე მოხსენების“ მეშვეობით.

Learn More

Correct syntax for privacy.fingerprintingProtection.granularOverrides?

  • 2 პასუხი
  • 0 მომხმარებელი წააწყდა მსგავს სიძნელეს
  • ბოლოს გამოეხმაურა RSizington

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.

გადაწყვეტა შერჩეულია

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

პასუხის ნახვა სრულად 👍 1

ყველა პასუხი (2)

შერჩეული გადაწყვეტა

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!

გამოსადეგია?

დასვით კითხვა

უნდა შეხვიდეთ ანგარიშზე პასუხის დასაწერად. გთხოვთ, დასვათ ახალი შეკითხვა, თუ ჯერ არ გაქვთ ანგარიში.