JavaScript retrieves information icons of various browsers, and javascript retrieves icons
How to obtain browser Information
Window has a navigator object to let us know all the information about the browser. We can use a series of API functions to know the information about the browser.
The JavaScript code is as follows:Copy codeThe Code is as follows: function message () {txt = "
We can use this function to notify the user browser whether to update
Original: Http://www.alistapart.com/articles/beyonddoctype
Author: Aaron Gustafson . Com
Translator: Zhaozy in 3user.com. Com
Reprint please indicate the author and translator information, thank you!
Progress always comes at a price. For Web browsers, users are spending a lot of money on the editors and browsers (especially Internet Explorer), as the developers advertise the truth in their breasts. Whe
With more and more web design application of JavaScript technology, and browser JavaScript engine running speed has become a major browser performance indicators, the browser vendors are claiming that their browser faster, hoping to stir the existing competitive situation. The JavaScript speed of the IE8 browser is significantly higher than the IE7 and IE6, but there is a gap between the browsers of the WebKit engine and the Chrome browser's performan
The useragent of various browsers is messy. For details, refer to cnbeta.ArticleTranslation: Historical Changes of useragent.
IE The typical useragent versions of IE are as follows:Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0)Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.2)Mozilla/4.0 (compatible; MSIE 6.0; Windows
New users often encounter a problem in the web design and production process, that is, browser incompatibility. This situation is often encountered during university learning, but it has never been well solved. Today I have the opportunity to study it carefully. This is a problem between the standard browser mode and the weird mode. Strict mode and quirks mode are two modes for the browser to parse css. The standard mode means that the browser parses and executes the code according to W3C standa
and form records can make us more quickly and easily browse the Web. For sensitive content, we can use the right button to create a targeted, scratch-free pattern.
When we are ready to click on a sensitive URL link, do not click directly, but choose right click, and then in the right-click menu, select "Open in the No-trace/small browsing window." This is the only link address and the subsequent operation of the window is not recorded, both retain privacy, and will not prevent the browser norm
target attribute, but does not have the srcElement attribute.Solution: Use srcObj = event. srcElement? Event. srcElement: event.tar get;If you consider 8th issues, use myEvent instead of event.11. window. location. hrefProblem description: in IE or Firefox2.0.x, you can use window. location or window. location. href; In Firefox1.5.x, you can only use window. location.Solution: Use window. location to replace window. location. href. Of course, you can also consider using the location. replace ()
All annotations are in
Code . Very detailed.
I only judged ie Firefox Google because I didn't install any other browsers, so haha. Of course, if you want to judge other browsers. The basic code is the same.
Copy code The Code is as follows: (function (){
Window. sys = {};
VaR UA = navigator. useragent. tolowercase ();
// First, let's take a look at what the three brow
| webkit)/. test (userAgent)};Speaking of this, experienced Javascript developers already know the secrets. Yes, jQuery uses regular expressions to determine the browser type and version. Pretty well done!First, it unified the user-agent into lower case, and then gradually matched the browser using regular expressions. For more information about regular expressions, see here. However, some may doubt whether such a judgment is correct. Let's take a look at the user-agent of the following four ma
complete web runtime. Different applications are different independent processes, as shown in. This is not in our scope of discussion.
We need to discuss the following two situations:
1. widgets enabled in the widget pannel through the widget Manager
2. Open a URL in a browser. Multiple applications may be opened in different browser windows, which may be different tags in the browser.
Single-process webkit
Webkit
About to open the webpage pop-up am.189so.cn, uninstall the 360 browser and use other browsers, am.189so. cn360
About opening the webpage to pop up am.189so.cn, uninstall the 360 browser and use other browsers.
Some of my friends reported computer poisoning,Http: // localhost /,
At the beginning, am.189so.cn is displayed. an IP address is displayed, and the network connection error occurs.
Then uninstall t
This article mainly introduces a variety of browser CSS hack compatibility, CSS hack can be broadly divided into internal hack and selectors hack and HTML header reference hack, the need for friends can refer to the next
Because different browsers follow the standards are also different, coupled with the inevitable procedural bugs, economic benefits and other factors of interference. The same page code (HTML + CSS), the display on different
The main mainstream browser to CSS3 and HTML5 support more and more perfect, once how many front-end developers broke the heart of the IE system began to embrace the standard. Just a few days ago, HTML5 community leader Shelley announced that HTML5 's development efforts were nearing completion, and that HTML5 would formally become an international standard in 2012 if it progressed well.Of course, even if the standard is formally developed, modern browsers
Currently, if you use JavaScript to write code that is copied to the Clipboard, it is generally not compatible with browsers. So the way to use flash, simulation of a layer, and then to copy, you can do all the browser application Oh ~
Need to download a SWF file, and a JS file. Put the two files, and the HTM together.
Icon:
Must be placed on the server side to use OH.
Icon:
JS Code:
Copy Code code as follows:
Zeroclipboard.js
S
Sogou, 360, travel, windows of the century, and other browsers are similar!The software was originally developed based on the IE6 kernel system.IE6 has already been updatedNow open http://www.baidu.com @ 2cto.com in IE6 to echo the syntax error messageThe "@" character is filteredHowever, there are no echo errors in browsers such as sogou, 360, travel, and window
(Windows NT 6.1) applewebkit/535.1 (khtml, like Gecko) chrome/ 13.0.782.41 safari/535.1 Qqbrowser/6.9.11079.201qq Browser 6.9 (11079) in Win7+ie9,ie kernel compatibility mode: mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; WOW64; trident/5.0; SLCC2;. NET CLR 2.0.50727;. NET CLR 3.5.30729;. NET CLR 3.0.30729; Media Center PC 6.0; infopath.3;. net4.0c;. net4.0e) qqbrowser/6.9.11079.20110) Ayun by Centro
object has the target attribute, but does not have the srcElement attribute.Solution: Use srcObj = event. srcElement? Event. srcElement: event.tar get;If you consider 8th issues, use myEvent instead of event.11. window. location. href Problem description: in IE or Firefox2.0.x, you can use window. location or window. location. href; In Firefox1.5.x, you can only use window. location.Solution: Use window. location to replace window. location. href. Of course, you can also consider using the loca
The IQ of browsers and operating systems and users-general Linux technology-Linux technology and application information. The following is a detailed description. IQ leleague is an online iqtest website. It is interesting that the statistical results can be classified according to different situations of testers, including browser and operating system.
Therefore, the smartest browsers and operating syste
Reference URL:http://blog.csdn.net/tototuzuoquan/article/details/18400789Http://camnpr.com/html-css/2087.htmlhttp://www.15yan.com/story/1H1vIDRzhWc/http://blog.csdn.net/www3300300/article/details/12992489360 browser kernel control META tag descriptionContent 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: If the page needs to default IE compat
Windows two platforms, on CSS3 and HTML5.CSS3 PropertyAs can be seen from the table, CSS Transforms 3D has no browser support, in addition to other properties on the Windows platform, Chrome and Safari all support, followed by the better is Opera and Firefox, once a red fork of IE began to catch up. Safari continues to excel on MAC platforms, followed by Firefox and Opera.CSS3 SelectorThe most pleasing is
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.