解决360浏览器优先选择极速模式,在兼容模式下出现乱码问题

来源:互联网 发布:clean my mac 怎么样 编辑:程序博客网 时间:2024/05/01 10:43
最近用360浏览器访问自己的网站,发现都是被优先选用兼容模式打开,这使得网站很难看。为了让360浏览器打开网站的时候优先试用极速模式,找了一下官方论坛,发现了解决方案。
<html>  <head>    <meta name="renderer" content="webkit|ie-comp|ie-stand">  </head>  <body>  </body>

</html>

content的取值为webkit,ie-comp,ie-stand之一,区分大小写,分别代表用webkit内核,IE兼容内核,IE标准内核。 

若页面需默认用极速核,增加标签:<meta name="renderer" content="webkit"> 

若页面需默认用ie兼容内核,增加标签:<meta name="renderer" content="ie-comp"> 

若页面需默认用ie标准内核,增加标签:<meta name="renderer" content="ie-stand"> 

0 0
原创粉丝点击