检测浏览器上安装的 geode、fire eagle 或 google gear
有没有关于如何检测用户浏览器上安装的geode、fire eagle、google gear并获取用户位置的演示?
is there any demo on how to detect geode ,fire eagle, google gear installed on user browsers and get user location?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我写了一个简短的页面,解释了开发人员获取用户位置的不同方式,包括 IP地理定位、W3C 地理定位 API 和反向地理编码。
您可能想要检测 Geode,Loki 或 Google Gears 地理定位(尽管我认为一旦 W3C API 确定下来,这些可能会被逐步淘汰)。 Ajaxian 构建了一个垫片,它将抽象出查询W3C、Gears 和 Google ClientLocation。
最后,Fire Eagle 只是一个位置代理 - 您可以安装 Fire Eagle 的 Firefox 插件,但仍然无法向网站提供访问用户 Fire Eagle 位置的权限。 (不过那会很酷,我希望他们正在与 Mozilla 合作)。
I've written a brief page explaining different ways for a developer to obtain a user's location, including IP geolocation, the W3C Geolocation API and reverse geocoding.
It's possible that you might want to detect Geode, Loki or Google Gears geolocation as well (although I think those are likely to be phased out once the W3C API is settled on). Ajaxian has built a shim that will abstract out queries to W3C, Gears and Google ClientLocation.
Finally, Fire Eagle is just a location broker -- you can install a Firefox plugin for Fire Eagle, but that still won't provide websites with access to the user's Fire Eagle location. (That would be cool though, I hope they're working with Mozilla on that).