Is there anyway to find out the ssid of the wifi access point within the browser using javascript? - Stack Overflow

admin2025-04-08  0

Is there anyway to find out the ssid of the wifi access point you are connected to within the browser using javascript?

If there isn't my guess would you'd have to write a plugin for it. I bet ActiveX allows this.

Is there anyway to find out the ssid of the wifi access point you are connected to within the browser using javascript?

If there isn't my guess would you'd have to write a plugin for it. I bet ActiveX allows this.

Share Improve this question asked Jul 24, 2009 at 23:52 leeand00leeand00 26.4k45 gold badges155 silver badges305 bronze badges 1
  • 2 If this can't be done, then how is it that Firefox 3.5 determines your location based on the location of surrounding wireless access point ssid's? – leeand00 Commented Sep 12, 2009 at 14:58
Add a ment  | 

3 Answers 3

Reset to default 3

Using Javascript? No.

I would be extremely surprised to find that there's a non-OS/Browser-specific hack to do this.

No there isn't and for a good reason :)

Update: I should have elaborated, JavaScript is run inside a browser sandbox that was designed to protect both security and privacy. ESSID of AP you're connected to is of course not a secret, but it's also not an information that should be revealed without ones consent.

This can't be done.

JavaScript is quite well shielded from the hardware and environment it is running on. All JavaScript 'knows' is that it has an internet connection it can use. It doesn't know whether it's broadband, 3G, ethernet, wireless or any of the details - just that it's there.

How worrying would it be for a user if they were innocently browsing the internet and websites could collect intimate details about their hardware as they went!? This would be open to huge amounts of abuse as someone, somewhere would surely work out a way of turning it to their advantage!

转载请注明原文地址:http://conceptsofalgorithm.com/Algorithm/1744124153a232384.html

最新回复(0)