適應(yīng)屏幕寬度
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
telephone=no就禁止了把數(shù)字轉(zhuǎn)化為撥號(hào)鏈接擎淤!
<meta name=”format-detection” content=”telephone=no”>
刪除默認(rèn)的蘋果工具欄和菜單欄。content有兩個(gè)值”yes”和”no”,當(dāng)我們需要顯示工具欄和菜單欄時(shí)秸仙,這個(gè)行meta就不用加了,默認(rèn)就是顯示桩盲。
<meta name=”apple-mobile-web-app-capable” content=”yes”>
Meta 之 apple-mobile-web-app-status-bar-style (作用為控制狀態(tài)欄顯示樣式)
<meta name=”apple-mobile-web-app-status-bar-style” content=”default” />
<meta name=”apple-mobile-web-app-status-bar-style” content=”black” />
<meta name=”apple-mobile-web-app-status-bar-style” content=”black-translucent” />
uc強(qiáng)制豎屏
<meta name="screen-orientation" content="portrait">
QQ強(qiáng)制豎屏
<meta name="x5-orientation" content="portrait">
UC強(qiáng)制全屏
<meta name="full-screen" content="yes">
QQ強(qiáng)制全屏
<meta name="x5-fullscreen" content="true">
UC應(yīng)用模式
<meta name="browsermode" content="application">
QQ應(yīng)用模式
<meta name="x5-page-mode" content="app">
IOS啟用 WebApp 全屏模式
<meta name="apple-mobile-web-app-capable" content="yes">
IOS全屏模式下隱藏狀態(tài)欄/設(shè)置狀態(tài)欄顏色 content的值為default | black | black-translucent
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
IOS添加到主屏后的標(biāo)題
<meta name="apple-mobile-web-app-title" content="標(biāo)題">
IOS添加智能 App 廣告條 Smart App Banner
<meta name="apple-itunes-app" content="app-id=myAppStoreID, affiliate-data=myAffiliateData, app-argument=myURL">
去除iphone 識(shí)別數(shù)字為號(hào)碼
<meta name="format-detection" content="telephone=no">
不識(shí)別郵箱
<meta name="format-detection" content="email=no">
禁止跳轉(zhuǎn)至地圖
<meta name="format-detection" content="adress=no">
可以連寫
<meta name="format-detection" content="telephone=no,email=no,adress=no">