Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

让 360 浏览器用极速内核渲染页面 #110

Closed
Dream4ever opened this issue Dec 9, 2020 · 0 comments
Closed

让 360 浏览器用极速内核渲染页面 #110

Dream4ever opened this issue Dec 9, 2020 · 0 comments
Labels
Browser All about browsers

Comments

@Dream4ever
Copy link
Owner

需求描述

最近在开发的一个页面,同事用 360 浏览器打开时,似乎默认使用兼容模式打开了,结果页面就各种变形。

解决方案

上网搜了一下,360 提供了自定义的浏览器内核控制标签,来通知浏览器该使用哪种模式渲染页面。

如果要让页面默认用极速模式渲染,那就在 HTML 的 head 区域加这么一行就行:

<meta name="renderer" content="webkit">

@Dream4ever Dream4ever added the Browser All about browsers label Dec 9, 2020
@Dream4ever Dream4ever changed the title 360 浏览器页面默认用极速内核 让 360 浏览器用极速内核渲染页面 Dec 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Browser All about browsers
Projects
None yet
Development

No branches or pull requests

1 participant