為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

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