Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Meta summary

2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >

Share

Shulou(Shulou.com)06/01 Report--

When I was working on the project, I found that the style of the normal code was messy on the 360. after reading the materials, I found that the code was dual-core, which was divided into extreme speed mode and compatibility mode. The extreme speed mode used webkit kernel and the compatibility mode used trident kernel (that is, IE kernel). Finally, I added a line of code to solve the problem perfectly.

Unexpectedly a line of code "so powerful", it is really necessary to seriously learn to understand the commonly used head header tags. First, summarize the default kernel mode of the browser:

The default kernel mode of domestic dual-core browsers is as follows:

1. Sogou high-speed browser, QQ Browser: IE kernel (compatibility mode)

2. 360 Speed browser, roaming browser: Webkit kernel (extreme speed mode)

1. Search engine (SEO optimization)

Page keyword

Page description

two。 Mobile Devic

Set the screen width to the device width, preventing the user from manually adjusting the zoom

Device-width is the width of the device

User-scalable users adjust zooming, yes to allow users to zoom, otherwise no, if set to no,minimum-scale and maximum-scale will be ignored, because it cannot be scaled at all.

Initial-scale: initial scale (range > 0 to 10)

3. Declaration coding

4. Kernel Settin

Give priority to the latest version of IE and Chrome

Browser kernel control: (many domestic dual kernels (webkit,trident) add the following meta to control which kernel rendering the browser uses)

The value of content is webkit ie-comp ie-stand, which represents webkit kernel, IE compatible kernel and IE standard kernel respectively.

For example, if the page needs to be checked with extreme speed by default, add a tag:

5. Cache Settin

Prevent browsers from accessing page content from the cache on the local computer:

6. Common settings on mobile phone

The H5 page window automatically adjusts to the device width and prevents users from zooming the page

one

Ignore recognizing the digits on the page as phone numbers

one

Ignore the identification of mailbox address in Android platform

one

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Network Security

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report