Hot answers tagged

37

I just checked this with my VPN in http://html5demos.com/geo Although I VPN through Germany, it still shows my nearby location in London. If you read https://www.mozilla.org/en-US/firefox/geolocation/ , you will see: If you consent, Firefox gathers information about nearby wireless access points and your computer’s IP address Then Firefox sends this ...


18

A VPN masks your IP address. But the HTML5 geolocation API isn't based on your IP address. It is a Javascript API which can be used to ask the web browser directly where it thinks it is located according to whatever information is available to it (system locale settings, nearby wifi networks, GPS sensors, IP address of the network interfaces as you see them ...


12

Try disabling HTML5 geolocation if you don't use it. In Firefox, set geo.enabled to false in about:config. There have been bugs, and there will be again, example 1 and example 2.


1

I found a way to prevent the use of this API using javascript. Worked for me in chrome and firefox (Desktop version). (function(navi){ var nnav = new Proxy(navi,{ get:function(t,p){ if(p == "getBattery" || p == "battery"){ return void(0); } if(t[p] instanceof Function){ return t[p].bind(navi); ...



Only top voted, non community-wiki answers of a minimum length are eligible