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

搜索 | 用户支持

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

详细了解

What happened to the about:config item "geo.wifi.uri" in FireFox 9

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

more options

In earlier versions of FireFox I disabled the Google geolocation access by setting the mentioned item to null. This still left geolocation operating and allowed my application to use an attached GPS receiver.

However, now I am on FireFox 9 and the config item is no longer there.

Are there some new and special controls gor managing geolocation in FF9?

Thanks.

Bill Lee Firefox 9.01; Fedora 16

In earlier versions of FireFox I disabled the Google geolocation access by setting the mentioned item to null. This still left geolocation operating and allowed my application to use an attached GPS receiver. However, now I am on FireFox 9 and the config item is no longer there. Are there some new and special controls gor managing geolocation in FF9? Thanks. Bill Lee Firefox 9.01; Fedora 16

所有回复 (3)

more options

This is the only reference I could find about that preference in Mozilla documentation.
https://developer.mozilla.org/en/Firefox/Updating_add-ons_for_Firefox_9#Preference_changes

Looks like that pref has been removed as a default pref, but it should still work when it is added as a new Boolean pref in about:config or in a user.js file. Also, if that pref was "user set" from the default value it should carry thru during a Firefox update; but it isn't present on a new installation or if a new Profile would be created.


That change may be related to a change in the Google Location Service (GLS v2 ) - https://bugzilla.mozilla.org/show_bug.cgi?id=677256

Also came up here - https://bugzilla.mozilla.org/show_bug.cgi?id=713304

Here's a Bug report that sounds similar to what you are looking for - https://bugzilla.mozilla.org/show_bug.cgi?id=690387 - but there is no response.

由the-edmeister于修改

more options

Looking further, I think my question goes deeper: How do you turn on GPSD geolocation in Firefox?

I have a simple application that calls the Geolocation api. With the former "fix" of setting the geo.wifi.uri to blank, the NetworkGeolocationProvider.js script would simply fail and the GPSDGeolocationProvider.js script would reference the attached gps device using gpsd and report the location to me. Now I cannot even FIND the GPSDLocationProvider.js script!

What has happened to GPSD Geolocation support in FireFox?

more options