简体   繁体   中英

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. 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.

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阻止此行为,但应由浏览器处理。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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