Mozilla 도움말 검색

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

자세히 살펴보기

permissions.default.geo 0 and 1 and 2

  • 3 답장
  • 2 이 문제를 만남
  • 194 보기
  • 최종 답변자: cor-el

more options

In about:config I have set "geo.enabled" to false. -> www.google.com still displays the content in my language, darn.

I went went back to about:config and marked "only show modified preferences" -> to my surprise not only "geo.enabled 1" was displayed but also "permissions.default.geo 2" (though I never touched that one - so I thought they must be linked somehow)

I was curious and reverted "permissions.default.geo" back to default -> now it is set to "0" -> but "geo.enable" is still on "false" (so I am not sure anymore if they are really linked together - which doesnt make sense to me)

Now I don't know if I should leave "permissions.default.geo" on "2" how I found it, or on "0" which is the default. That's why I come here to ask:

==> What are the three states of "permissions.default.geo [0/1/2]" doing and how is it interacting with "geo.enable"?

In about:config I have set "geo.enabled" to false. -> www.google.com still displays the content in my language, darn. I went went back to about:config and marked "only show modified preferences" -> to my surprise not only "geo.enabled 1" was displayed but also "permissions.default.geo 2" (though I never touched that one - so I thought they must be linked somehow) I was curious and reverted "permissions.default.geo" back to default -> now it is set to "0" -> but "geo.enable" is still on "false" (so I am not sure anymore if they are really linked together - which doesnt make sense to me) Now I don't know if I should leave "permissions.default.geo" on "2" how I found it, or on "0" which is the default. That's why I come here to ask: ==> What are the three states of "permissions.default.geo [0/1/2]" doing and how is it interacting with "geo.enable"?

선택된 해결법

See

 /**
  * Predefined return values for the testPermission method and for
  * the permission param of the add method
  * NOTE: UNKNOWN_ACTION (0) is reserved to represent the
  * default permission when no entry is found for a host, and
  * should not be used by consumers to indicate otherwise.
  */
 const uint32_t UNKNOWN_ACTION = 0;
 const uint32_t ALLOW_ACTION = 1;
 const uint32_t DENY_ACTION = 2;
 const uint32_t PROMPT_ACTION = 3;
문맥에 따라 이 답변을 읽어주세요 👍 0

모든 댓글 (3)

more options

BTW: one of the reasons I wanted to disable my IP was that I tried to change the google doodle. So I logged out google. but doesnt matter which VPN country I choose and what I did in about:config and what Firefox language I choose -> the doodle doesn't change, it is always in my language, not in the VPN IP's language or in the Firefox's language.

글쓴이 Mark 수정일시

more options

The permissions.default.x preferences are the default site permission before you grant or deny a specific site. On the Settings page, if you go to Privacy, Location, and click the Settings button, you'll find a checkbox labeled "Block new requests asking to access your location" which has this effect:

  • [ ] not checked => Sites can trigger a permission request => 0
  • [x] checked => Sites cannot trigger a permission request => 2 -- you can still grant a site permission manually using the Page Info dialog (Ctrl+i, or on Mac, Command+i)

I think a value of 1 means you have granted permission for all sites by default, without an individual request, so that's normally NOT what you want.

geo.enabled controls whether Firefox will perform geolocation for a site even if you granted permission.


None of this is related to your IP address, it only controls precise location based either on GPS or your local Wi-Fi hotpots. If you want to use a different IP address, you generally need to use a VPN.

It's also possible Google determines your preferred language based on either:

more options

선택된 해결법

See

 /**
  * Predefined return values for the testPermission method and for
  * the permission param of the add method
  * NOTE: UNKNOWN_ACTION (0) is reserved to represent the
  * default permission when no entry is found for a host, and
  * should not be used by consumers to indicate otherwise.
  */
 const uint32_t UNKNOWN_ACTION = 0;
 const uint32_t ALLOW_ACTION = 1;
 const uint32_t DENY_ACTION = 2;
 const uint32_t PROMPT_ACTION = 3;