X
Tap here to go to the mobile version of the site.

منتدى الدعم

How can I 'hard code' a location that FireFox reports to sites (without using a plug-in)

Posted

I tried the method of using a plain text file with this:

{"location":{"latitude":48.861426,"longitude":2.338929, "accuracy":20.0}}

...and setting Geo.Wifi.uri to point to it. But it didn't work

I tried the method of using a plain text file with this: {"location":{"latitude":48.861426,"longitude":2.338929, "accuracy":20.0}} ...and setting Geo.Wifi.uri to point to it. But it didn't work

Additional System Details

Installed Plug-ins

  • NPRuntime Script Plug-in Library for Java(TM) Deploy
  • Next Generation Java Plug-in 11.101.2 for Mozilla browsers
  • Shockwave Flash 23.0 r0
  • VLC media player Web Plugin

Application

  • User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:50.0) Gecko/20100101 Firefox/50.0

More Information

cor-el
  • Top 10 Contributor
  • Moderator
17479 solutions 157955 answers

I think you can only do that with an extension, but Geo locator no longer works because support for FUEL has been removed.

--

I think you can only do that with an extension, but Geo locator no longer works because support for FUEL has been removed. *Geolocater: https://addons.mozilla.org/firefox/addon/geolocater/ *TypeError: Cc['@mozilla.org/fuel/application;1'] is undefined -- *https://developer.mozilla.org/en-US/docs/Mozilla/Tech/Toolkit_API/FUEL *FUEL is deprecated as of Firefox 40 and removed as of Firefox 47. Consider using the Add-ons SDK instead