Browse Source

Sync more header meta stuff from vnc.html:

* UTF-8 charset defintition.

* Define IE=edge for X-UA-Compatible.

* Add Apple iOS Safari settings.
Peter Åstrand (astrand) 12 năm trước cách đây
mục cha
commit
33f5d3bd92
1 tập tin đã thay đổi với 15 bổ sung2 xóa
  1. 15 2
      vnc_auto.html

+ 15 - 2
vnc_auto.html

@@ -13,9 +13,23 @@
     -->
     <title>noVNC</title>
 
+    <meta charset="utf-8">
+
     <!-- Always force latest IE rendering engine (even in intranet) & Chrome Frame
                 Remove this if you use the .htaccess -->
-    <meta http-equiv="X-UA-Compatible" content="chrome=1">
+    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
+
+    <!-- Apple iOS Safari settings -->
+    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
+    <meta name="apple-mobile-web-app-capable" content="yes" />
+    <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
+    <!-- App Start Icon  -->
+    <link rel="apple-touch-startup-image" href="images/screen_320x460.png" />
+    <!-- For iOS devices set the icon to use if user bookmarks app on their homescreen -->
+    <link rel="apple-touch-icon" href="images/screen_57x57.png">
+    <!--
+    <link rel="apple-touch-icon-precomposed" href="images/screen_57x57.png" />
+    -->
 
 
     <!-- Stylesheets -->
@@ -140,4 +154,3 @@
 
     </body>
 </html>
-