How do you keep an iPhone/iPad web app in full screen mode?

后端 未结 6 2085
别那么骄傲
别那么骄傲 2020-12-07 15:47

I have an HTML5 iPad app that works offline. The app essentially consists of 4 html files and 3 aspx files. My cache manifest is setup so that only the html files are avai

6条回答
  •  忘掉有多难
    2020-12-07 16:37

    Let the computer do the tedious job, that's what they're made for.

    This is a piece of javascript code I use to avoid rewriting all my links. With that, only those links that have an explicit target = "_blank" attribute will open in Safari. All other links will remain inside the web app.

    var a=document.getElementsByTagName("a");
    for(var i=0;i

提交回复
热议问题