忽略自动识别电话
<meta name="format-detection" content="telephone=no">
忽略自动识别邮箱
<meta name="format-detection" content="email=no">
忽略自动识别电话和邮箱
<meta name="format-detection" content="telephone=no, email=no">
禁止页面缩放
在智能手机的普及下,很多网站都具备桌面端和移动端两种浏览版本,因此无需双击缩放查看页面。禁止页面缩放可保障移动端浏览器能无遗漏地展现页面所有布局。
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1, minimum-scale=1, maximum-scale=1">
禁止页面缓存
Cache-Control指定请求和响应遵循的缓存机制,不想使用浏览器缓存就禁止呗!(ngnix服务器上可以配置缓存,可以若缓存严重可以联系运维在ngnix上找原因)
<meta http-equiv="Cache-Control" content="no-cache">
强制QQ浏览器竖屏
<meta name="x5-orientation" content="portrait">
强制QQ浏览器全屏
<meta name="x5-fullscreen" content="true">
开启QQ浏览器应用模式
<meta name="x5-page-mode" content="app">
强制UC浏览器竖屏
<meta name="screen-orientation" content="portrait">
强制UC浏览器全屏
<meta name="full-screen" content="yes">
开启UC浏览器应用模式
<meta name="browsermode" content="application">
开启360浏览器极速模式
<meta name="renderer" content="webkit">