简体   繁体   English

停止android浏览器警告“设备未连接到互联网”

[英]Stop android browser from alerting “Device not connected to internet”

Here is my problem - 这是我的问题-

I have a HTML page (page 1) which connects to another HTML page (page 2) in an iFrame. 我有一个HTML页面(第1页),该页面连接到iFrame中的另一个HTML页面(第2页)。 However this loading is done, say a minute after the page load completes. 但是,此加载已完成,例如页面加载完成后一分钟。

ie. 即。 page 1 -> wait 60 seconds -> open page 2 in iframe within page 1. 第1页->等待60秒->在第1页的iframe中打开第2页。

However when this load occurs, the browser throws an alert that network is not connected. 但是,当发生这种负载时,浏览器会发出警报,提示网络未连接。

Is there something that can be done to prevent this behavior? 有什么可以防止这种行为的措施吗?

经过一些研究,我发现无法用JS阻止此行为,但应由浏览器处理。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM