Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var r=new XMLHttpRequest();
- //r.open("GET","http://domainbigdata.com/domains-detected/2015-07-01");
- r.open("GET",window.location.href);
- r.onload=function(){
- var m=this.responseText.match(/<a href="(.*?)" id="MainMaster_anext">next >(.*?)<\/a>/)
- if (m){
- r.open("GET",m[1]);r.send();
- console.log(m[1],m[2]);
- }
- var m2=this.responseText.match(/<td><a href="\/(.*)" id="MainMaster_rptDomains_aDomain_\d+" title="show domain details">(.*?)<\/a><\/td>/g);
- if(m2) console.log(m2);
- }
- r.send();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement