<i id='ZYNqF'><tr id='ZYNqF'><dt id='ZYNqF'><q id='ZYNqF'><span id='ZYNqF'><b id='ZYNqF'><form id='ZYNqF'><ins id='ZYNqF'></ins><ul id='ZYNqF'></ul><sub id='ZYNqF'></sub></form><legend id='ZYNqF'></legend><bdo id='ZYNqF'><pre id='ZYNqF'><center id='ZYNqF'></center></pre></bdo></b><th id='ZYNqF'></th></span></q></dt></tr></i><div id='ZYNqF'><tfoot id='ZYNqF'></tfoot><dl id='ZYNqF'><fieldset id='ZYNqF'></fieldset></dl></div>
  • <legend id='ZYNqF'><style id='ZYNqF'><dir id='ZYNqF'><q id='ZYNqF'></q></dir></style></legend>

    1. <small id='ZYNqF'></small><noframes id='ZYNqF'>

      <tfoot id='ZYNqF'></tfoot>
      • <bdo id='ZYNqF'></bdo><ul id='ZYNqF'></ul>
      1. Firefox 11 和 GeoLocation 拒绝回调

        时间:2023-09-07

              <legend id='wCErY'><style id='wCErY'><dir id='wCErY'><q id='wCErY'></q></dir></style></legend>

              • <bdo id='wCErY'></bdo><ul id='wCErY'></ul>

                <small id='wCErY'></small><noframes id='wCErY'>

                <i id='wCErY'><tr id='wCErY'><dt id='wCErY'><q id='wCErY'><span id='wCErY'><b id='wCErY'><form id='wCErY'><ins id='wCErY'></ins><ul id='wCErY'></ul><sub id='wCErY'></sub></form><legend id='wCErY'></legend><bdo id='wCErY'><pre id='wCErY'><center id='wCErY'></center></pre></bdo></b><th id='wCErY'></th></span></q></dt></tr></i><div id='wCErY'><tfoot id='wCErY'></tfoot><dl id='wCErY'><fieldset id='wCErY'></fieldset></dl></div>
                <tfoot id='wCErY'></tfoot>
                  <tbody id='wCErY'></tbody>
                  本文介绍了Firefox 11 和 GeoLocation 拒绝回调的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

                  问题描述

                  Firefox 10.x 一切正常,但升级到 Firefox 11 时出现问题.

                  Things worked okay is Firefox 10.x but with the upgrade to Firefox 11 has thrown up a problem.

                  我用

                  navigator.geolocation.getCurrentPosition(success, failure)
                  

                  但在FF11中,当用户通过选择Not Now"拒绝共享位置时,不会执行失败回调.

                  but in FF11 the failure callback is not executed when the user denies sharing location by selecting "Not Now".

                  有什么建议吗?

                  推荐答案

                  好的,所以现在的答案是:不可能,Firefox 在设计上不会触发失败事件.围绕这个约束构建您的应用程序."

                  Okay, so the answer for now is: "Not possible, Firefox by design will not fire the failure event. Build your app around this constraint."

                  这篇关于Firefox 11 和 GeoLocation 拒绝回调的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!

                  上一篇:浏览器如何从计算机获取 GPS 数据? 下一篇:Firefox 的 geo.wifi.url 的 https://www.google.com/loc/json 没

                  相关文章

                  最新文章

                  <legend id='dqHhk'><style id='dqHhk'><dir id='dqHhk'><q id='dqHhk'></q></dir></style></legend>

                      <bdo id='dqHhk'></bdo><ul id='dqHhk'></ul>
                    <tfoot id='dqHhk'></tfoot>

                    <small id='dqHhk'></small><noframes id='dqHhk'>

                    1. <i id='dqHhk'><tr id='dqHhk'><dt id='dqHhk'><q id='dqHhk'><span id='dqHhk'><b id='dqHhk'><form id='dqHhk'><ins id='dqHhk'></ins><ul id='dqHhk'></ul><sub id='dqHhk'></sub></form><legend id='dqHhk'></legend><bdo id='dqHhk'><pre id='dqHhk'><center id='dqHhk'></center></pre></bdo></b><th id='dqHhk'></th></span></q></dt></tr></i><div id='dqHhk'><tfoot id='dqHhk'></tfoot><dl id='dqHhk'><fieldset id='dqHhk'></fieldset></dl></div>