黑莓离线网络应用程序提示网络不可用

发布于 2024-12-01 03:44:39 字数 359 浏览 4 评论 0原文

我正在构建一个使用 html5 缓存清单来实现离线功能的网站。它针对 blackberry OS6 及更高版本(基于 webkit 的浏览器)。

我的问题是,当我在模拟器中关闭 3g/无线(使用黑莓 9800)时,我会不断收到有关我单击的每个缓存项目的提示。

[1]: https://i.sstatic.net/q5qHK.png

当我点击时 出现错误是的,它加载该项目。当我单击“否”时,它抱怨无线电信号太低。

有没有办法让这个对话框消失?在我看来,如果您处于离线状态,并且已经缓存了内容,那么您想要继续加载它。

I'm building a website that uses the html5 cache manifest for offline functionality. It's targeted for blackberry OS6 and up (webkit based browsers).

My problem is that when I turn 3g / wireless off in the simulator (using blackberry 9800) I get constant prompts about every cached item I click.

[1]: https://i.sstatic.net/q5qHK.png error

When I click yes it loads the item. When I click no it complains about the radio signal being too low.

Is there a way to make this dialog go away? It seems to me that if you're offline, and you have cached content, you want to go ahead and load it.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文