Skip to content

Instantly share code, notes, and snippets.

Created April 4, 2015 04:41
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
What would you like to do?
var i= document.createElement('iframe');
i.src=''; 'none'
i.onload= function(){
var src= [
var count= 0;
for(var i= src.length; i> 0; i--){
var c = document.createElement('script');
c.type = 'text/javascript';
c.async = false;
c.src = src[i-1];
c.onload= visit;
var h = document.getElementsByTagName('script')[0];
h.parentNode.insertBefore(c, h);
function visit(){
var i= Math.floor(Math.random()* _arrusers.length);
var url= ''+ _arrusers[i][0];
method: 'get',
url: url,
success: function(){
console.log(url, i, count++);
setTimeout(visit, 2* 1000);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment