javascript - html5 和 js 中的地理定位 - 我拒绝但我想接受 - 如何重置?

标签 javascript windows firefox geolocation

使用 Firefox 访问此页面:https://www.w3schools.com/html/tryit.asp?filename=tryhtml5_geolocation 单击“尝试”后,Firefox 顶部会打开一个对话框,但我拒绝了。如何让它再次出现或重置为允许?

谢谢。

最佳答案

您阻止了地理位置权限,因此请按照以下步骤再次允许地理位置:

  1. 转到地址栏
  2. 点击锁定图标[地址栏左侧]
  3. 它将显示一个弹出窗口
  4. 转到权限 5 .解除暂时封锁enter image description here
  5. 刷新页面
  6. 您可以访问地理位置

关于javascript - html5 和 js 中的地理定位 - 我拒绝但我想接受 - 如何重置?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/52808602/

相关文章:

javascript - Impress.js + 火狐浏览器 : How to disable advance slide on mouse click

javascript - 在其他类中隐藏一个类不比较名为 "column"的类名

javascript - 如何在打开另一个 div 时切换关闭所有 div

c++ - "type"使用 C++ 的表情符号

windows - 有没有办法为 Git 服务器使用 Windows 身份验证(Active Directory)?

windows - MS.Win32.Penimc.UnsafeNativeMethods Visual Studio 2015 和 Sql Server Management Studio 2012

firefox - 如何为 Firefox 设置插件商店图标

javascript - 通过注册表安装的 Firefox 附加组件是否可以使用 updateURL?

javascript - 使用 Socket.io 发送和接收对象

javascript - 这是什么错误 ERROR Cannot prepare tests due to an error.类型错误 : Cannot read property 'Date' of undefined?