【问题标题】:How to avoid the "Intenert Explorer wants to track your physical location" prompt?如何避免“Internet Explorer 想要跟踪您的物理位置”提示?
【发布时间】:2014-03-19 12:51:51
【问题描述】:

我有一个使用 Geolocation API 的 html 页面,每次页面加载时都会提示是否允许“跟踪您的物理位置”。

我想知道是否有办法避免此提示并始终默认此选项。

使用的网络浏览器必须是 Internet Explorer 11,并且不允许出现提示。

提前致谢。

【问题讨论】:

  • 嗯,它是 IE,所以如果有一些可怕的安全漏洞让你绕过它,我不会特别惊讶,但肯定不是设计使然。
  • 查看 Alex Filipovici 在这篇文章中的回答:stackoverflow.com/questions/14435585/…

标签: geolocation


【解决方案1】:

你不能,用户必须知道他们的位置是否被使用。如果您想避免这种情况,可以使用基于 IP 的地理位置。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2010-11-08
    • 1970-01-01
    • 2016-08-21
    • 2012-02-10
    • 1970-01-01
    • 2012-07-02
    • 1970-01-01
    相关资源
    最近更新 更多