Skip to content

Instantly share code, notes, and snippets.

@yanhaijing
Last active December 22, 2015 21:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yanhaijing/6533013 to your computer and use it in GitHub Desktop.
Save yanhaijing/6533013 to your computer and use it in GitHub Desktop.
刷新任意网站,无限制
var total = 0
function loop(){
console.log("=====total count", total++);
$.ajax({
url: "http://mixin.tongda2000.com/?" + Math.random(),
error: function(){
loop();
},
success: function(){
loop();
}
});
}
loop();
@NearImba
Copy link

If the website use no jquery? will it work?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment