Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

Is there any way to suppress the spinners and "transferring data" indicators that browsers show when a web page is loading?

I'm loading a document into a hidden iframe that will take a long time (10's of minutes). I don't want/need the user to be aware of this - it's just confusing to them to have the page look like it's still loading. SO I'd like to be able to disable all of the "page loading" activity that browsers normally show.

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
518 views
Welcome To Ask or Share your Answers For Others

1 Answer

I eventually found a solution that will work for us. Instead of loading the document into a hidden iframe, we're using the "htmlfile" object described here: http://cometdaily.com/2007/11/18/ie-activexhtmlfile-transport-part-ii/

This solves the problem on IE platforms. And on non-IE platforms, we can use XMLHttpRequest + CORS + chunk encoding.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...