Is there any browser (Chrome, Firefox) plugin that allows to simulate geo location?

[亡魂溺海] 提交于 2019-12-01 06:29:35

If I understood the question correctly and you're asking for a way to fake geolocation responses for your web app, you might be able to do this in Firefox by overriding the geo.wifi.uri in the prefs, like Firefox's unit tests do. See:

I am a bit late, but Microsoft Edge has this useful tab Emulation.

You can open this developer tool as usual hitting F12 button or by clicking on the browser's menu button, Developer Tools F12.

Geolocation: Simulate a GPS receiver and enter GPS coordinates to test location-aware features in a webpage.

More info here at developer.microsoft.com

Chromium 52 has it in-built:

  1. Open developer console
  2. Click the : button on the right, select More tools -> Sensors
  3. In Tab "Sensors" you can modify the current location:

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!