Alibabacloud.com offers a wide variety of articles about opera browser old version, easily find your opera browser old version information here online.
Phpnew Blog Built-in discuz ubb type editor, editor function is inserted at the cursor, can be on the IE11 has been inaccurate.Analysis today, finally found the reason. The old version of the JS file is written by the browser to determine an exception, so that the insertion point has been in the head. Today's fix.
Provides a JS function. Returns an array.
Use in jqueryNavigator. useragent. indexof is used to determine the browser type and perform a small processing. If you do not want to use jquery, modify it slightly.CodeNot plagiarism.
Jquery determines the source code of the browser (jquery1.31 is used as an example)
JS Code
VaRUseragent = navigator. useragent. tolowercase ();
// Figure out What
(version can only be obtained through the analysis useragent);
Compatibility issues can be handled only after the browser type and browser version are judged.
1, through the characteristics of useragent to determine the browser type and
developed based on the VPlayer Playback Technology in cooperation with the company. The hardware decoding technology pioneered by VPlayer is used for in-depth exploration and hardware acceleration, this technology not only perfectly supports online streaming media, but also saves 8 times the power of traditional soft decoding and playback videos.
Once again, in terms of product design, the cheetah cooperated with RigoDesign, a famous international design company, to create a brand new interfac
On the Internet to find a browser and version of the method there are many, the younger brother summed up one or two to save everyone time.method of 1.jquery:Regular expressions are used to determine common browsers and their versions.
Copy Code code as follows:
var ua = navigator.useragent;
UA = Ua.tolowercase ();
var match =/(WebKit) [\/] ([\w.] +)/.exec (UA) | |
/(
the other is by analyzing the browser's UserAgent property to judge ( version only through the analysis of useragent );Compatibility issues can only be handled after the browser type and browser version have been judged . 1, through the characteristics of the useragent to determine the
First, jquery judge browser version plugin, jquery-browser.jsAfter jquery 1.9 has deleted the method of judging the browser version:$.browser.versionThe reasons are:Note: It is not a good idea to detect the browser through the user agent string, and the method will be comple
the decision of browser and its version in js,jsp--front-end development process
On the Internet to find a browser and version of the method there are many, the younger brother summed up one or two to save everyone time.
Method of 1.jquery:
Regular expressions are used to determine common browsers and their versions.
f
This article describes how to use jquery to obtain the browser type and version number. The specific jquery code is as follows:
$ (Document ). ready (function () {varbrow = $. browser; varbInfo = ""; if (brow. msie) {bInfo = "MicrosoftInternetExplorer" + brow. version;} if (brow. mozilla) {bInfo = "MozillaFirefox" + b
version number is the number after Firefox.OperaOpera offers a special browser logo, which is the Window.opera property. Opera's typical useragent are as follows:opera/9.27 (Windows NT 5.2; U ZH-CN)opera/8.0 (Macintosh; PPC Mac OS X; U Enmozilla/5.0 (Macintosh; PPC Mac OS X; U EN) Opera 8.0Where the
For versions earlier than jquery.1.9, you can use $. browser can easily determine the type and version of the browser, but in versions 1.9 and later, $. browser has been deleted. The following describes how to implement this function. you can use the $. browser can easily de
); // extract the version number string and convert it to a value.
}
Alert (getiever (); // return the value 8 (My IE8)
This method can be used if you are more concerned with the browser's capabilities and do not care about its actual identity.User-Agent string Detection
The User-Agent string provides a large amount of information about the web browser, including the br
To obtain the browser version, we can not only use the server script to determine the same, but also use js to obtain the browser version information. To obtain the browser version in js, we only need to use navigator, let's take
Check the browser version information or browsers. We can determine the user's user-agent features. Next, I will only introduce the inspection of four mainstream browsers. other browsers can be automatically added.
Let's take a look at the user-agent of the following four mainstream browsers:
Safari (Windows edition)
... AppleWebKit/523.12.9 (KHTML, like Gecko) Version
How PHP Gets the user browser version
This article mainly introduces PHP to get the user browser version of the method, you can use $_server[' http_user_agent '] to obtain user information, is very practical skills, the need for friends can refer to the next
The example in this article describes how PHP gets the us
Obtain the browser name and version information. If the current browser is IE, the browser version is displayed. Otherwise, the current browser name and version are displayed. For detai
Php method for obtaining the user's browser version
This article describes how to obtain the user's browser version in php. It is a very practical technique to use $ _ SERVER ['HTTP _ USER_AGENT '] to obtain user information, for more information, see
This example describes how to obtain the user's
JS checks the browser type and version, first obtains the lower-case information of the userAgent attribute of the Navigator object, and then judges the value assignment based on the regular expression.
Var Sys ={}; var ua = navigator. userAgent. toLowerCase (); var s; var scan; (s = ua. match (/msie ([\ d.] + )/))? Sys. ie = s [1]: (s = ua. match (/firefox \/([\ d.] + )/))? Sys. firefox = s [1]: (s = ua
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.