Browser kernel control META tag description document

Source: Internet
Author: User
Tags code tag control label

Background introduction

As is known to all, the domestic mainstream browser is a dual-core browser: Based on the WebKit kernel for popular sites of high-speed browsing. IE-based kernels are used to be compatible with online banking and legacy websites. For example, 360 of the browsers, we prefer to render the mainstream through the WebKit kernel site, only a small amount of web sites through the IE kernel rendering, to ensure that the page is compatible. For a long time, our main control was a hundreds of K size Web site library, a library of URLs collected through long-term manual operations.

Although we strive to improve the automatic core accuracy of the browser through user feedback, code Tag Intelligent judgment technology. But in many cases, we still can't reach disposing right. As a result, we have added a new control: the kernel controls meta tags. As long as you add a meta tag to your website, tell the 360 browser which kernel to use to render the URL, which 360 browser will be read to this tag, immediately switch the corresponding kernel. and apply this behavior to all URLs under this level two domain name.

Currently this feature has been implemented in all 360 secure browsers. We also recommend that other browser vendors work together to support this implementation. Make this control label an industry standard.

code example

Add a line of code to the head tag:

<HTML>  <Head>    <Metaname= "Renderer"content= "Webkit|ie-comp|ie-stand">  </Head>  <Body>  </Body></HTML>

Content value is one of webkit,ie-comp,ie-stand, case-sensitive, respectively, represented by the WebKit kernel, IE compatible kernel, IE standard kernel.
If the page needs to be the default speed core, add tag: <meta name= "renderer" content= "WebKit" >
If the page needs to default IE compatible kernel, add tag: <meta name= "renderer" content= "Ie-comp" >
If the page needs to default with IE standard kernel, add tag: <meta name= "renderer" content= "Ie-stand" >

Technical details of each render core Webkitie compatible IE standard document mode chrome 21IE6/7IE9/IE10/IE11 (depending on the user's IE) HTML5 support Yesnoyesactivex control support Noyesyes each core UA sample

Note

This function in fact and IE9 x-ua-compatible very similar, about the introduction of several kernel implementations of IE, see:

Http://blogs.msdn.com/b/ie/archive/2010/06/16/ie-s-compatibility-features-for-site-developers.aspx

Browser kernel control META tag description document

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.