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

搜索 | 用户支持

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

详细了解

can't access weather.com

  • 3 个回答
  • 0 人有此问题
  • 1 次查看
  • 最后回复者为 cor-el

more options

When I clicked on weather.com it kept asking me to share my location. I clicked on the icon? and it said I could disable the question by typing something in the url area, I did this and got to a place where I changed true to false I believe. Now I cannot access the weather channel website at all. I can't remember what steps I took or how to undo this.


When I clicked on weather.com it kept asking me to share my location. I clicked on the icon? and it said I could disable the question by typing something in the url area, I did this and got to a place where I changed true to false I believe. Now I cannot access the weather channel website at all. I can't remember what steps I took or how to undo this.

被采纳的解决方案

Does this sound like the right setting:

(1) In a new tab, type or paste about:config in the address bar and press Enter/Return. Click the button promising to be careful.

(2) In the search box above the list, type or paste geo and pause while the list is filtered

(3) If the geo.enabled preference is bolded and "user set" to false, double-click it to restore the default value of true

定位到答案原位置 👍 3

所有回复 (3)

more options

选择的解决方案

Does this sound like the right setting:

(1) In a new tab, type or paste about:config in the address bar and press Enter/Return. Click the button promising to be careful.

(2) In the search box above the list, type or paste geo and pause while the list is filtered

(3) If the geo.enabled preference is bolded and "user set" to false, double-click it to restore the default value of true

more options

You can set a permanent preference for an individual site's ability to access your location using the Permissions panel of the Page Info dialog.

So while you are viewing a page on the site, call that up using any of these:

  • right-click a blank area of the page and choose View Page Info > Permissions
  • (menu bar) Tools menu > Page Info > Permissions
  • click the padlock or globe icon to the left of the site address, then the ">" icon, then More Information > Permissions

Near the top, you'll find "Access Your Location" and you can uncheck the "Use default" box and select the permission you prefer.

This is saved right away, so then you can close the dialog.

more options

Note that the System Detail list next to the question shows that you have a user.js file in the profile folder to initialize prefs each time Firefox starts. The user.js file will only be present if you or other software has created this file and normally won't be present.

You can check its content with a plain text editor (right-click: "Open with"; do not double-click). The user.js file is read each time Firefox is started and initializes preferences to the value specified in this file, so preferences set via user.js can only be changed temporarily for the current session.

You can delete the user.js file if you didn't create this file yourself.

You can use this button to go to the current Firefox profile folder:

Windows hides some file extensions by default. Among them .html and .ini and .js and .txt and you may only see a file name without file extension. You can check the file extension (type) in the properties of the file in Windows Explorer via the right-click context menu.