Internal Server Error ');
Redirect to a new location
Redirect to a new location:
Header (' location:http://www.sina.com.cn);
Redirect after a period of delay
Redrict with delay:
Header (' refresh:10; url=http://www.sina.com.cn ');
print ' You'll be redirected in seconds ';
Overwrite x-powered-by value
Override x-powered-by:php:
Header (' x-powered-by:php/4.4.0 ');
Header (' x-powered-by:brain/0.6b ');
Content language (en = 中文版)
Content language (en = 中文版)
Header (' content-language:en
Foreign media published an article today, comparing four latest Internet browsers, including IE9, Firefox 4, Chrome 10, and Safari 5. The following is the main content of the article: a new browser should have the following features: faster speed, more reasonable user interface, so that users can pay more attention to Internet content, rather than the browser itself, you can also search through the address bar of your browser. This browser should also
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 of the century.Instead jump directly to the
GetAttribute in IE67 obtains the hrefsrc attribute (the relative path 0 value is different from that in other browsers. in IE6/7, getAttribute obtains the href/src attribute (the relative path 0 value is different from that in other browsers ).
The test code is as follows:
Home script var link = document. getElementsByTagName ('A') [0]; var img = document. getElementsByTagName ('img ') [0]; alert (link.
[Reprinted] CSS compatibility issues in various browsers. Reprinted css compatibility
CSS compatibility with browsers is sometimes a headache. Maybe when you understand the skills and principles, you will feel that it is not difficult to collect IE7 from the Internet, 6. Solve the problem of compatibility with Fireofx and sort it out. for Web, try to write code in xhtml format, and DOCTYPE affects CSS proce
This conclusion comes from an optimization request. At first, the loading of a page was very slow and the load event could not be triggered, therefore, we hope that we can optimize the external resources of the page by dividing static files into domain names, and trigger the load event as early as possible. So I checked the source code of the page and sorted out the external resources. Based on the following two concepts, I drew a speculative waterfall diagram:
The browser can only concurrentl
Beijing zhengzheng CCRun
The browser market is always filled with fire and medicine, and the competition between life and death has never stopped for a day: Netscape has become yellow yesterday, and Internet Explorer, the former overlord, is not a copper wall, one by one (such as GreenBrowser, Maxthon, and Tencent Traveler) are all out of the box. Maybe you only like IE, but Tencent Traveler is displayed when you click the link in QQ; maybe she only like GreenBrowser, but IE is displayed when yo
Some browsers force offline caching!
1) Problem Discovery:
An error is found in the android browser, ios browser, and safari browser: If src is specified for a script, if the first loading fails, then, no http request will occur for the script tag of the same request. The subsequent request is more like a read offline cache request. In this way, if the content on the server is updated, the browser cannot be synchronized.
HoweverChrome, ie, and so on
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 browsers, such as Android
JS is perfectly compatible with the scrolltop methods of various browsers
1. Differences of scrollTop in different browsers
IE6/0/6/7/8/9/10:
For pages without doctype declaration, you can use document. body. scrollTop to obtain the scrollTop height;For pages with doctype declaration, you can use document.doc umentElement. scrollTop;
Safari:
Safari is quite special. You have a function to get scrollTop: win
JS is perfectly compatible with the scrolltop methods of various browsers, and jsscrolltop
1. Differences of scrollTop in different browsers
IE6/0/6/7/8/9/10:
For pages without doctype declaration, you can use document. body. scrollTop to obtain the scrollTop height;For pages with doctype declaration, you can use document.doc umentElement. scrollTop;
Safari:
Safari is quite special. You have a function to g
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
1. Ultimate method: Condition Annotation
The disadvantage is that the Internet Explorer may add additional HTTP requests.
2. CSS selector Differentiation
IE6 does not support sub-selectors. It first uses the regular declarative CSS selector for IE6, and then uses the sub-selector for IE7 + and other browsers.
/* Dedicated for IE6 */
. Content {color: red ;}
/* Other browsers */
Div> P. Content {color:
Experiment 1: use of multi-function browsers and individualsBlogCreation and use
I,Lab Purpose
1. Familiar with the use and configuration of various browsers;
2. Create and complete a personal blog.
II,Lab content
1. Installation and Use of multi-function browsers
N Please download more than 3 browsers, instal
This conclusion comes from an optimization request. At first, the loading of a page was very slow and the load event could not be triggered, therefore, we hope that we can optimize the external resources of the page by dividing static files into domain names, and trigger the load event as early as possible.
So I checked the source code of the page and sorted out the external resources. Based on the following two concepts, I drew a speculative waterfall diagram:
1. the browser can only concurrent
Firefox 3.6, Chrome 4.0, and Opera 10.5 have the latest versions. This is also a good time to test their performance. Lifehacker has recently released a new round of tests on Firefox, Opera, Safari, and Chrome browsers, the startup time, JavaScript speed, DOM/CSS query, and memory usage of various browsers were tested.
The test platform selects the Lenovo Thinkpad T61p, 2.0 GHz Intel Centrino 2 processor,
According to foreign media reports, competitors such as Google and Opera said that disabling IE8 in Windows 7 is far from enough. Microsoft should pre-Install multiple browsers in Windows.
Microsoft confirmed on April 9, 6th day of this month that the next-generation operating system Windows 7 will allow users to disable applications such as the IE 8 browser and the Windows mediaplayer player. Microsoft did not comment on whether this was the result
#-*-Coding:utf-8-*-Import OSImport SeleniumFrom selenium import WebdriverFrom Selenium.webdriver.common.keys import keys"""Practice launching various browsers: Firefox, Chrome, IEPractice launching various browsers while loading plugins: Firefox, Chrome, IE""" Def startfirefox (): "" "launches the Firefox browser installed in the default location and automatically goes to the Baidu home page" " Driver = we
The touchcancel event is a often neglected when building touch–interfaces using JavaScript. Historically, browsers vendors has never really published documentation detailing the circumstances as to if this event Gets fired, and hence it has always been been associated with a level of obscurity by many developers. The aim of this post was to try and shed some light on the matter.Apple originally created touch events for IOS Safari, which has since been
In discuz, call the [code quot; php quot;] var_dump (function_exists ( #39; uc_pm_checknew #39;) method on the forum_forumdisplay.php page ;)); [code] if firefox is used, it is displayed as true. if chrome is used, it is displayed as false. Therefore, the file where uc_pm_checknew is located is loaded again. In this case, both browsers return true. It's strange to load this file and comment it again. Both brows
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.