以最高IE版本渲染网站
- <meta http-equiv="X-UA-Compatible" content="IE=edge">
延伸阅读:http://zccst.iteye.com/blog/2162187
设置渲染引擎360浏览器
- <!-- Set render engine for 360 browser -->
- <meta name="renderer" content="webkit">
延伸阅读:http://camnpr.com/html-css/2087.html
360浏览器官网说明:http://se.360.cn/v6/help/meta.html
百度会为你的网页进行转码
设置这个之后通过手机百度搜索打开网页时,百度会为你的网页进行转码
- <!-- No Baidu Siteapp-->
- <meta http-equiv="Cache-Control" content="no-siteapp"/>
- <link rel="icon" type="image/png" href="../i/icon.png">
Chrome在Android上添加到主屏幕
说明:网站开启对web app程序的支持。
- <!-- Add to homescreen for Chrome on Android -->
- <meta name="mobile-web-app-capable" content="yes">
- <link rel="icon" sizes="192x192" href="assets/i/app-icon72x72@2x.png">
添加到桌面的iOS Safari
说明:网站开启对web app程序的支持。
- <meta name="apple-mobile-web-app-capable" content="yes">
- <meta name="apple-mobile-web-app-status-bar-style" content="black">
- <meta name="apple-mobile-web-app-title" content="Amaze UI"/>
- <link rel="apple-touch-icon-precomposed" href="assets/i/app-icon72x72@2x.png">
添加到主屏后-设置状态栏的背景颜色(win8)
- <meta name="msapplication-TileImage" content="assets/i/app-icon72x72@2x.png">
- <meta name="msapplication-TileColor" content="#0e90d2">