How to use Meta tag code to make 360 Browser use speed mode to open web pages by default

php中世界最好的语言
Release: 2018-01-25 11:21:56
Original
4833 people have browsed it

This time I will show you how to use the Meta tag code to make 360 Browser use the speed mode to open the web page by default, and use the Meta tag code to make the 360 Browser use the speed mode to open the web page by default.What are the precautions?, the following is a practical case, let’s take a look.

A website uses a lot of HTML5 and CSS3. It hopes that users will open the page with the webkit kernel. However, the test found that 360 uses the IE kernel as the recommended mode. I don’t know why. In fact, 360 has designed a method of selection for website developers. Just add a piece of Meta tag code to solve the problem.

The following information is taken from the 360 official website:

Browse mode

Extreme speed mode, compatibility mode and IE9 high-speed mode are the three modes used by 360 browser when displaying web pages:

indicates extreme speed mode

indicates compatibility mode

indicates IE9/IE10 Mode (only available afterinstallingIE9 or IE10)

360 Speed Browser will automatically choose the browsing mode suitable for each website for you. So, usually you don't need to know the difference between several kernels.

What are the characteristics of each mode?

In the extreme speed mode, the website opens quickly, but some websites may have compatibility issues and display abnormally in the extreme speed mode.
In compatibility mode, the website opening speed is slightly lower than that in extreme speed mode, but there are fewer web page compatibility issues.
In IE9/IE10 mode, the website will be rendered using the IE9/IE10 rendering method, supporting hardware acceleration and IE9/IE10's new script rendering engine.

When switching browsing modes, 360 Speed Browser will automatically synchronize data between dual cores, allowing you to seamlessly switch between dual cores.

User Experience Plan

When you join the User Experience Plan, we will send the switched URL to the 360 website so that we can improve the compatibility list and improve the product.

The uploaded data does not contain information about your individual characteristics and will not be leaked to third-party individuals or institutions.

If you do not want to upload the switched URL, you only need to uncheck it in "Advanced Options"
" Automatically send usage statistics and crash reports to the 360 Speed Browser website to help us improve 360 Extremely Fast Browser" is enough.

Background Introduction

As we all know, the mainstream domestic browsers are dual-core browsers: based on the Webkit kernel for high-speed browsing of commonly used websites. The IE-based kernel is used to be compatible with online banking and old versions of websites. Taking several 360 browsers as an example, we give priority to rendering mainstream websites through the Webkit kernel, and only a small number of websites are rendered through the IE kernel to ensure page compatibility. For a long time in the past, our main control method was a URL library with a size of several hundred kilobytes, a URL library collected through long-term manual operations.

Although we strive to improve the browser's automatic verification accuracy through user feedback and code tag intelligent judgment technology. But in many cases, we still can't get it 100% correct. Therefore, wenewadded a control method: the kernel control Meta tag. As long as you add a Meta tag to your website and tell 360 Browser which core should be used to render this URL, 360 Browser will immediately switch to the corresponding core after reading this tag. And apply thisbehaviorto all URLs under this second-level domain name.
Currently, this function has been implemented in all 360Securitybrowsers. We also recommend thatotherbrowser vendors support this implementation. Make this control label an industry standard.

Code example

Add a line of code in the head tag:

   
Copy after login

The value of content is one of webkit, ie-comp, ie-stand, case-sensitive, Represents the use of webkit kernel, IE compatible kernel, and IE standard kernel respectively.
If the page needs to use the ultra-fast core by default, add the tag:
If the page needs to use the IE-compatible kernel by default, add the tag:
If the page needs to use the IE standard kernel by default, add the tag:
Here I found a problem. The official information ended with ">", but it didn't work during the actual test. In this case, just change the ending to "/>" (note that there is a space before /), and the test is feasible.
Technical details of each rendering kernel

I believe you have mastered the methods after reading these cases. For more exciting information, please pay attention to other related articles on the PHP Chinese website!

Related reading:

How to use HTML and CSS to make a clear text

How to modify the default text color of the input box

How to make Table display borders

The above is the detailed content of How to use Meta tag code to make 360 Browser use speed mode to open web pages by default. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!