Home  >  Article  >  Web Front-end  >  Use IE6 to read Lao Zhao’s blog A preliminary study on jQuery_jquery

Use IE6 to read Lao Zhao’s blog A preliminary study on jQuery_jquery

WBOY
WBOYOriginal
2016-05-16 18:36:29916browse

I am very depressed. Do I need to install a browser to read a blog? I'm very lazy, I just want to use IE6 to watch it!
I was reading jQuery recently. I just got started and found an interesting function, so I experimented with it on Lao Zhao’s blog, haha.
 
Load the latest version of an HTML web page.
jQuery code:

Copy code The code is as follows:

$.ajax({
url: "test.html",
cache: false,
success: function(html){
$("#results").append(html);
}
});


Just use this, change the address to Lao Zhao’s blog and see what effect it will have ,whee.
Create a new text file and rename it: a.htm. Just copy the code in the example, change the URL, and run it.
Saw it, ha, wait, why did it jump again? It seems that the js script in the blog is also running. Look, wouldn’t it be ok if I killed that script?
After searching for a long time (js is relatively bad), I finally found it.
Code
Copy code The code is as follows:



It’s this code that is causing trouble, get rid of it. Just replace "window.location..." >

Use IE6 to read Lao Zhao’s blog v1.1



Loading please wait...





(The code has been modified based on everyone’s help.)
This is the code, Create a text file locally, rename it, copy it, and run it. Then you can see Lao Zhao's blog in IE6.
ps: When running this code on the website, it says "no permissions", so it cannot be online. Demonstrated.
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn