Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var r=new XMLHttpRequest(),s,d,data;
- d=new Date();
- s=d.toISOString().replace(/^(\d{4})-(\d{2})-(\d{2})(.*)/,"$2-$3-$1");
- r.t=s;
- r.open("GET","http://www.pixoto.com/images-photography/all/all/leading/on-"+s+"?json=true&offset=0&limit=48&mature=true");
- r.onload=function(){
- data=JSON.parse(this.responseText);
- window.stop();
- document.title=this.t;
- for(var i=0,a=[];i<data.list.length;i++) a.push('<img style="width:280px;height:280px;margin:0px;padding:0px;zoom:0.68" src="'+data.list[i].url.replace(/^http:\/\//,"http://127.0.0." +(i%10+1)+ "/wp1/")+'=s280-c"/>');
- document.body.innerHTML="<div style=\"line-height:100%\">"+a.join("")+"</div>";
- console.log(this.t,new Date().toLocaleTimeString("de-at"));
- d=new Date(d.setDate(d.getDate()-1));
- s=d.toISOString().replace(/^(\d{4})-(\d{2})-(\d{2})(.*)/,"$2-$3-$1");
- this.t=s;
- this.open("GET","http://www.pixoto.com/images-photography/all/all/leading/on-"+s+"?json=true&offset=0&limit=100&mature=true");
- setTimeout(function(){r.send()},7500);
- }
- r.send();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement