keeleysam / tenfourfox

Automatically exported from code.google.com/p/tenfourfox
0 stars 0 forks source link

WiFi scanning for geolocation #199

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Mozilla removed the 10.4/10.5 code in 
https://bugzilla.mozilla.org/show_bug.cgi?id=799139

Do we care? Does anyone use this? Did it ever work? (I don't use a WiFi
Mac most of the time.)

Original issue reported on code.google.com by classi...@floodgap.com on 25 Dec 2012 at 8:05

GoogleCodeExporter commented 9 years ago
I simply restored the old code - because it was so simple and very low risk. It 
compiles but I don't know if it works, though. I assume this is used when being 
connected to the web via some public access point? I don't think my own access 
point provides any such information or does it? Geolocation does work but I 
think that's done via the IP-Address.

Original comment by Tobias.N...@gmail.com on 26 Dec 2012 at 1:21

GoogleCodeExporter commented 9 years ago
IIRC, Mozilla can send the visible SSIDs to Google and have it generate an 
approximate location from its database.

Original comment by classi...@floodgap.com on 26 Dec 2012 at 5:22

GoogleCodeExporter commented 9 years ago
I use three WiFi portables. Never heard of geolocation for Firefox. How do I 
test this? Is there a UI to switch it on (I'd rather have it off for privacy 
reasons)?

Original comment by chtru...@web.de on 28 Dec 2012 at 7:14

GoogleCodeExporter commented 9 years ago
http://stackoverflow.com/questions/2248404/about-geolocation-in-html-5

Demo:
http://maxheapsize.com/static/html5geolocationdemo.html

Original comment by classi...@floodgap.com on 28 Dec 2012 at 11:20

GoogleCodeExporter commented 9 years ago
Chris, does it work for you?

Original comment by classi...@floodgap.com on 2 Jan 2013 at 9:34

GoogleCodeExporter commented 9 years ago
The code seems to work, 17.0.1 and 17.0.2 alike. On the demo site, I am first 
asked to share my location.

Without WiFi the IP is probably used, placing me to the center of Berlin (off 
by ~20 km). With WiFi, AirPort seeing my own and a handfull other networks, it 
places me exactly at the right location, street, number and everything (scary). 
When I switch off my own network, it still places me correctly, so it must be 
able to read information from other access points.

The switch is geo.enabled. If set to false, the demo tells me my browser isn't 
supported.

Original comment by chtru...@web.de on 8 Jan 2013 at 3:47

GoogleCodeExporter commented 9 years ago
Okay, so I guess we do care.

Original comment by classi...@floodgap.com on 9 Jan 2013 at 4:40

GoogleCodeExporter commented 9 years ago
(for 19+)

Original comment by classi...@floodgap.com on 9 Jan 2013 at 4:40

GoogleCodeExporter commented 9 years ago
landed

Original comment by classi...@floodgap.com on 12 Jan 2013 at 8:30

GoogleCodeExporter commented 9 years ago
Okay, 19 is out. Does this still work right?

Original comment by classi...@floodgap.com on 14 Jan 2013 at 12:49

GoogleCodeExporter commented 9 years ago
It still works the same as in 17. 

Original comment by chtru...@web.de on 14 Jan 2013 at 4:24

GoogleCodeExporter commented 9 years ago
Good. Then I think we can consider this resolved.

Original comment by classi...@floodgap.com on 14 Jan 2013 at 4:25