Full screen iOS webapp support
authorYao Wei (魏銘廷) <mwei@lxde.org>
Wed, 15 May 2013 09:10:14 +0000 (09:10 +0000)
committerYao Wei (魏銘廷) <mwei@lxde.org>
Wed, 15 May 2013 09:10:14 +0000 (09:10 +0000)
sm.html

diff --git a/sm.html b/sm.html
index 7e97fec..d9625c2 100644 (file)
--- a/sm.html
+++ b/sm.html
@@ -147,6 +147,9 @@ function init() {
        parseHash();
 }
 </script>
+<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
+<meta name="apple-mobile-web-app-capable" content="yes">
+<meta name="format-detection" content="telephone=no">
 </head>
 <body onload="init()" onhashchange="parseHash()" onresize="adjust()">
 <textarea id="textarea" onKeyUp="adjust()" onpaste="adjust()" oninput="adjust()">:-)</textarea>