为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

i dont want messages from websites asking me for my location

more options

Often when I go to a website it will ask me through Firefox if I want to share my location, I don't, ever. I use a VPN because I don't want my location known, can these messages be permanently stopped through Firefox.

Often when I go to a website it will ask me through Firefox if I want to share my location, I don't, ever. I use a VPN because I don't want my location known, can these messages be permanently stopped through Firefox.

被采纳的解决方案

hi, you can generally disable that functionally like this: enter about:config into the firefox address bar (confirm the info message in case it shows up) & search for the preference named geo.enabled. double-click it and change its value to false.

定位到答案原位置 👍 1

所有回复 (3)

more options

选择的解决方案

hi, you can generally disable that functionally like this: enter about:config into the firefox address bar (confirm the info message in case it shows up) & search for the preference named geo.enabled. double-click it and change its value to false.

more options

Perfect, thank you, tried finding a solution by searching the knowledge base which turned out to be useless.

more options

There is a recently added setting for turning off website requests to learn your location.

By suppressing the requests instead of completely disabling geolocation, you retain the option to share location with sites that offer good value in exchange for the information. (If you use any such sites.)

See this article for more information: Does Firefox share my location with websites?


Actually, the screenshot there is not up-to-date. Here's an update:

To change Firefox's behavior from asking you if you want to grant permission to automatically denying permission, go to the Preferences page --

  • Mac: "3-bar" menu button (or Firefox menu) > Preferences
  • Windows: "3-bar" menu button (or Tools menu) > Options
  • Linux: "3-bar" menu button (or Edit menu) > Preferences
  • Any system: type or paste about:preferences into the address bar and press Enter/Return to load it

-- then click Privacy & Security in the left column.

When you scroll to the Permissions section, the first is Location. If you click the "Settings" button, you will see:

  • List of sites that asked for permission to access your precise location and what you told Firefox to do (if you didn't just ignore it)
  • A checkbox labeled "Block new requests asking to access your location" that you can check so Firefox doesn't bother you about site location requests

If you use the checkbox, then if there IS a site you want to be able to find your location for some reason (a site you trust and really needs it) then you'll be able to create an exception for that site.

Screenshot attached for reference.

由jscher2000 - Support Volunteer于修改