, search for MSIE on the page, and click "(UA. lastindexof ('msie 6.0 ')! =-1) "and then add | (UA. lastindexof ('msie 7.0 ′)! =-1) | (UA. lastindexof ('msie 8.0 ′)! =-1) and then replace the start_a.htm file in the warehouse. You can also modify it directly in the original file.
4. After the configuration is modified, restart the QC server. The reason is that th
versions. According to the Internet Explorer compatibility policy described by Microsoft, accessing a page in IE8 + requires the following process:
I,First, determine the browser mode. As mentioned above, the browser mode must be determined before the request is sent. By default, the latest mode (ie9 isIe9 Standard, IE8 isIE8 Standard), There are two ways to change it:
Select using the developer tool (see the table above for options );
Click the Compatibility View button;
Hit Compatibility
format:
"1 pi" (1≤ pi current width ofsheet]) -the first type query.
"2 li ri" (0≤ lI Ri ≤[ current width of sheet])-the Second type query.
OutputFor each query of the second type, output the answer.Input7 41 30 S2 0 12 1 2Output43Idea: Violence update, then use Fenwicktree or segmenttree to do interval sum.Because the value of each location will only be updated to another location once, so the violent word complexity is O (n), and then update the time in two c
// Create an object. The object name must be Ext.EXT = {version: '2. 0.1 '};// In the browser before ie5, undefined is not the sub-object of Windows Object. Window. undefined = undefinedWindow ["undefined"] = Window ["undefined"];// A kind of method is implemented. The apply method is used to copy the attention and method in C to O, if some of the implied conformances and methods need to be integrated into the O, you only need// These conformances and values form a pair (you can also use the "{}
encrypted, and can be converted to the original plaintext after conversion) to the server for verification. The server directly verifies whether the local server matches the user name and password provided by the client. If yes, the server passes verification.
2. Anonymous Access
After IIS on the server allows anonymous access, the requested resources are directly returned to the client without authentication after receiving the resource request from the client.
GET/iisstart.htm HTTP/1.1
Accept
verifies that the server locally matches the user name and password provided by the client, and if so, validates it.
Second, anonymous access
When server-side IIS sets the Allow anonymous access, the requested resource is returned directly to the client after the client's resource request is received and no authentication is required.
Get/iisstart.htm http/1.1
Accept: */*
Accept-language:zh-cn
Ua-cpu:x86
Accept-encoding:gzip, deflate
If-modified-sinc
first to know the browser useragent.Here are the useragent for each browser (the latest version of the IE series and other browsers):Ie6mozilla/4.0 (compatible; MSIE 6.0; ...)Ie7mozilla/4.0 (compatible; MSIE 7.0; ...)Ie8mozilla/4.0 (compatible; MSIE 8.0; ...)Ffmozilla/5.0 (...) gecko/20090824 firefox/3.5.3Chromemozilla/5.0 (...) applewebkit/532.0 (khtml, like Gecko) chrome/3.0.195.27 safari/532.0Safarimozilla/5.0 (...) applewebkit/531.9 (khtml, like Gecko) version/4.0.3 safari/531.9.1Operaopera
JQuery determines whether the browser is automatically redirected to a mobile terminal or a computer.
A small code segment, the same website for mobile viewing and computer viewing jump to different pages.
First load the jQuery file.
$ (Function () {var MobileUA = (function () {var ua = navigator. userAgent. toLowerCase (); var mua = {IOS:/ipod | iphone | ipad /. test (ua), // iOS IPHONE:/iphone /. test
On the microblog to see an introduction to PHP faster download file method, in fact, the use of Web server xsendfile features, bird Brother's blog only said the Apache implementation, I found the introduction of nginx implementation of the article, tidy up!Let ' s go!In general, we can direct the user to download a file by directly directing the URL to a file located under document root.However, to do so, there is no way to do some statistics, permission checks, and so on. So, many times, we use
Original Author: epsilon7SonyMusic (sonymusic@163.net) classBrowserDetector {var $ UA quot; $ HTTP_USER_AGENT content var $ BROWSER quot; Unknown quot ;; browser type var $ PLATFORM // Author: epsilon7
// SonyMusic (sonymusic@163.net)
Class BrowserDetector {
Var $ UA = ""; // content of $ HTTP_USER_AGENT
Var $ BROWSER = "Unknown"; // BROWSER type
Var $ PLATFORM = "Unknown"; // operating system
Var $ VERS
This article describes how to check that the client types of JavaScript learning notes are (engines, browsers, platforms, operating systems, and mobile devices). For more information, see
// Obtain the user proxy string in lowercase. Var ua = navigator. userAgent. toLowerCase (); document. write (ua );
In the previous article, we introduced the browser rendering engine, platform, Windows operating system,
Topic Link http://acm.hdu.edu.cn/showproblem.php?pid=5517-------------------------------------------------------------------------------------------------------Pre-knowledge and the difficulty of thinking is not very high but the implementation for my weak slag is still too complex (a lot of processing compared around)After we have a little analysis (Xiangyun), we can find that the essentially different triples C have no more than MFor the two tuple a B is the same, only the largest one is reser
From: http://news.mydrivers.com/1/159/159621.htm
The development team of Microsoft IE browser introduced the new ie9 style through the official blog todayUser-Agent string (user agent string), Website developers and designers should pay attention to it.
The first published version of ie9 is sent with the IE8 UA string, but the new ie9 UA string will be used after the next upgrade.
Ie9 default
detects the browser. Note the browser inference order, mainly based on the useragent inference.Checking the browservar client = function () {var engine = {ie:0,gecko:0,webkit:0,khtml:0,opera:0,Ver:null};var browser = {Browserie:0,firefox:0,safari:0,konq:0,opera:0,chrome:0,Ver:null};var ua = navigator.useragent;The browser detects a sequenceif (Window.opera) {//opera camouflage, so the first testEngine.ver = Browser.ver = Window.opera.version ();Engine
Check the browser, pay attention to the browser to determine the order, mainly based on useragent to make judgments.
detecting browsers
var client = function () {
var engine = {
ie:0,
gecko:0,
webkit:0,
khtml:0,
opera:0,
Ver:null
};
var browser = {
Browser
ie:0,
firefox:0,
safari:0,
konq:0,
opera:0,
chrome:0,
Ver:null
};
var ua = navigator.useragent;
Browser detection is in order
if (Window.opera) {//opera Camouflage, so priorit
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.