Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function post_picsarus(a,callback) {
- var r=new XMLHttpRequest();
- r.open("POST","http://176.34.162.148/jabry/picsarus1.asp?u",true);
- r.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
- r.onreadystatechange=function(){if (this.readyState==4 && this.status==200) callback&&callback.call(this.responseText); }
- r.send("u=" + a.join(","));
- }
- function post_picsarus2(a,callback) {
- var r=new XMLHttpRequest();
- r.open("GET","http://176.34.162.148/jabry/picsarus1.asp?q="+a.join(","),true);
- r.onreadystatechange=function(){if (this.readyState==4 && this.status==200) callback&&callback.call(this.responseText); }
- r.send("");
- }
- // var x=document.createElement("textarea");x.cols=130;x.rows=50;document.body.appendChild(x);x.scrollIntoView(true);
- var a=x.value.match(/http:\/\/.*?.\jpg/gim)||[];
- a.forEach(function(v){post_picsarus2([v],function(){console.log(this.toString())})});
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement