Mozilla 도움말 검색

고객 지원 사기를 피하세요. 저희는 여러분께 절대로 전화를 걸거나 문자를 보내거나 개인 정보를 공유하도록 요청하지 않습니다. "악용 사례 신고"옵션을 사용하여 의심스러운 활동을 신고해 주세요.

Learn More

Correct syntax for privacy.fingerprintingProtection.granularOverrides?

  • 2 답장
  • 0 이 문제를 만남
  • 최종 답변자: 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.

선택된 해결법

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)

more options

선택된 해결법

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

도움이 되셨습니까?

more options

Excellent, sir! This was the solution!

Thank you!

도움이 되셨습니까?

질문하기

글에 답글을 달기 위해서는 계정으로 로그인해야만 합니다. 계정이 아직 없다면 새로운 질문을 올려주세요.