Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* grid view (paging) */
- var ig="http://rg443.bugs3.com/p/?url=";
- var ig="http://rg443.hj.cx/p/?url=";
- document.head.insertAdjacentHTML("beforeEnd","<style> \
- img.b{width:160px;height:160px;margin:2px;background-color:whitesmoke;image-rendering:optimizeQuality;border-radius:7px;zoom:1.33} \
- img.s{width:90px;height:90px;margin:2px;background-color:whitesmoke;image-rendering:optimizeQuality;zoom:1.0} \
- img.t{width:320px;height:200px;margin:2px;image-rendering:optimizeQuality;border-radius:7px;} \
- </style>");
- document.head.insertAdjacentHTML('AfterBegin', '');
- // var s=document.createElement("script"); s.src="http://cdnjs.cloudflare.com/ajax/libs/sugar/1.3.9/sugar.min.js";document.head.appendChild(s);
- var cache1=cache1||{}; cache1.keys=function(){return Object.keys(this)}
- var x={j:1,pageSize:20,pages:670,title:"tbd",title1:"tbd",url:"http://www.americapictures.net/page/$i"};
- var cc="www|ja|bg|nl|cz|no|da|pl|de|pt|es|ru|fi|sv|fr|sr|hu|uk|id|cn|it|ipad".match(/\w+/g);ci=0
- x.title1="my-walls (" +cc[ci]+ ")";
- x.url="http://" +cc[ci]+ ".my-walls.net/page/$i/";
- x.match=/http:\/\/(www|ja|bg|nl|cz|no|da|pl|de|pt|es|ru|fi|sv|fr|sr|hu|uk|id|cn|it|ipad).my-walls.net\/wp-content\/uploads\/\S+.jpg/gim; // var patt=new RegExp(pattern,modifiers);
- x.pages=957;
- // www ja bg nl
- var cc="jp|bg|nl|cz|no|da|pl|de|pt|es|ru|fi|sv|fr|sr|hu|uk|id|cn|it|tw".match(/\w+/g);ci=0;
- x.title1="wallpapersus.com (english)";
- x.url="http://wallpapersus.com/page/$i/";
- x.match=/http:\/\/wallpapersus.com\/wp-content\/uploads\/\S+.jpe?g/gim;
- x.pages=1;
- x.title1="wallpapersbest.net";
- x.url="http://wallpapersbest.net/page/$i/";
- x.match=/http:\/\/wallpapersbest.net\/wp-content\/uploads\/\S+.jpe?g/gim;
- x.pages=-1;
- var sites={};sites.getSite=function(site){var site1=this[site];if(!site1){site1={};this[site]=site1}return site1};
- var site=sites.getSite("famous-wallpapers.com");site.url="http://famous-wallpapers.com/latest-wallpapers/page/$i/";site.pages=806;
- var site=sites.getSite("www.wallpapersgalaxy.com");site.url="http://www.wallpapersgalaxy.com/latest-wallpapers/page/$i/";site.pages=806;
- var site=sites.getSite("hdwallpapersnew.com");site.url="http://hdwallpapersnew.com/author/admin/page/$i/";site.pages=81;
- var site=sites.getSite("erotixx.files.wordpress.com");site.match=/http:\/\/erotixx.files.wordpress.com\/.*?.jpg/gim;
- var site=sites.getSite("thegreatone22.wordpress.com");site.match=new RegExp("http://thegreatone22.files.wordpress.com/\\S+.jpe*g","gim");
- var site=sites.getSite("artfreelance.me");site.match=/http:\/\/artfreelancedotorg.files.wordpress.com\/\S+.jpg/gim;
- var site=sites.getSite("twistedsifter.com");site.match=/http:\/\/twistedsifter.files.wordpress.com\/\S+.jpg/gim;
- var site=sites.getSite("www.nexus-wallpaper.com");site.url="http://www.nexus-wallpaper.com/wallpaper/page/$i/";
- // wp("famous-wallpapers.com");x.j=1;x.next(); // http://famous-wallpapers.com/latest-wallpapers/page/806/
- /*
- www.hollywooddesktop.com
- www.justjared.com
- pickupline.co
- thegreatone22.wordpress.com
- wallpapers87.com
- erotixx.wordpress.com
- www.ideashomedesign.net
- bizhijidi.com
- */
- /*
- favimages.com
- foundwalls.com
- hdwallpapersnew.com
- www.skyhdwallpapers.com
- famous-wallpapers.com
- www.wallpapersgalaxy.com
- toptravellists.net
- topwalls.net
- wallfive.com
- wallpapersbest.net
- wallpapersfor.me
- wallpaperskd.com
- wallpapersol.com
- wallpapersus.com ''|jp|bg|nl|cz|no|da|pl|de|pt|es|ru|fi|sv|fr|sr|hu|uk|id|cn|it|tw
- wallpapersget.com
- wallpaperswiki.org
- www.allwalls.net
- www.americapictures.net
- www.architecturepics.org
- www.globe-walls.com
- www.ifchina.net
- www.inwallpapers.net
- www.listofcarbrands.com
- www.listofimages.com
- www.my-walls.net www|ja|bg|nl|cz|no|da|pl|de|pt|es|ru|fi|sv|fr|sr|hu|uk|id|cn|it|ipad
- www.my-walls.org
- www.new-wall.com
- www.skipwall.com
- www.travelimg.org
- www.traveltop.net
- www.travelwalls.net
- www.upphotos.net
- www.wall-online.net
- www.wallpaperage.com
- www.wallpaperax.com
- www.wallpaperbe.com
- www.wallpapersam.com
- www.wallpapersat.com
- www.wallpapers-group.com
- www.wallpapersma.com
- www.wallpapersmag.com
- www.wallpapersshop.net
- www.walls-inc.net
- www.wallsdata.biz
- www.wallsforpc.com
- www.wallsonline.org
- www.yapwallpapers.com
- www.yoyowall.com
- www.bizhijidi.com
- www.allwalls.org
- www.wallpaperspic.co
- www.europepics.org
- globeattractions.com
- */
- function wp(site) {
- x.title1 = site.replace("www.", "");
- x.url = "http://" + site + "/page/$i/";
- x.match = new RegExp("http://" + site + "/wp-content/uploads/\\S+\\.jpe*g", "gim");
- x.pages = 1;
- x.j = 1;
- var site = sites.getSite(site);
- if(site.url) { x.url = site.url }
- if(site.match) {x.match = site.match;}
- }
- /*
- s.match(new RegExp('<a href=".*?/category/(\\S+)/" title=".*?">(.*?)</a>','gim'))
- s.match(new RegExp('page/(\\d+)','gim'))
- s.replace(/(<\/\S+>)/g,"$1\n").replace(/\n\s+/gim,"\n");
- */
- function _nav1() {
- var site_list1 =" www.wallpapersdesign.net www.wallpapersma.com www.wallpaperbe.com www.wallpapersbah.com www.wallpaperdt.biz www.wallpaperbod.com www.wallpapersin.net www.wallsforpc.com www.wallpapersshop.net www.imagesweb.org www.walls-inc.net www.wallpaperdt.biz www.wallpapert.com www.wallpapersct.com www.youphotos.biz boobslovin.com de.listofimages.com de.wagwallpaper.com de.wallpapersmag.com desktoplist.com famous-wallpapers.com favimages.com favimages.net foundwalls.com fr.listofimages.com globeattractions.com toptravellists.net topwalls.net wallfive.com wallpapersbest.net wallpapersfor.me wallpapersget.com wallpaperskd.com wallpapersus.com wallpaperswiki.org www.allwalls.net www.allwalls.org www.americapictures.net www.architecturepics.org www.bizhijidi.com www.europepics.org www.globe-walls.com www.hdofwallpapers.com www.ifchina.net www.inwallpapers.net www.listofcarbrands.com www.listofimages.com www.my-walls.net www.my-walls.org www.new-wall.com www.skipwall.com www.skyhdwallpapers.com www.the-walls.net www.topwallpapers.info www.travelimg.org www.traveltop.net www.travelwalls.net www.upphotos.net www.wagwallpaper.com www.wall-online.net www.wallpaperage.com www.wallpaperax.com www.wallpaperbe.com www.wallpaperdot.net www.wallpaperpics.net www.wallpapers-group.com www.wallpapersabc.biz www.wallpapersam.com www.wallpapersat.com www.wallpapersax.com www.wallpaperscom.net www.wallpapersct.com www.wallpapersgalaxy.com www.wallpapersgo.org www.wallpapersma.com www.wallpapersmag.com www.wallpaperspic.co www.wallpapersshop.net www.wallpapersto.com www.walls-inc.net www.wallsable.com www.wallsank.com www.wallsdata.biz www.wallseemly.com www.wallsfeed.com www.wallsforpc.com www.wallsonline.org www.yapwallpapers.com www.yoyowall.com www.posterizes.com www.hdwallpaperstop.com";
- site_list1+=" wallpapersus.com " + "jp|bg|nl|cz|no|da|pl|de|pt|es|ru|fi|sv|fr|sr|hu|uk|id|cn|it|tw".match(/[^|]+/g).map(function(v){return v+".wallpapersus.com"}).join(" ");
- site_list1+=" " + "www|ja|bg|nl|cz|no|da|pl|de|pt|es|ru|fi|sv|fr|sr|hu|uk|id|cn|it|ipad".match(/[^|]+/g).map(function(v){return v+".my-walls.net"}).join(" ");
- var s="<div id=nav1><font size=\"1\" face=\"Helvetica\" color=\"black\" style=\"cursor:pointer;text-align:justify;\">"+ site_list1.match(/\S+/g).map(function(v){return '<span onclick="wp(\''+v+'\');x.next();" onmouseover="this.style.color=\'blue\';this.style.textDecoration=\'underline\';" onmouseout="this.style.color=\'\';this.style.textDecoration=\'none\';">'+v.replace(/www\.|\.com|\.net|\.org|\.biz/g,"")+'</span>'; }).join(" ")+"</font></div>"; document.body.insertAdjacentHTML("beforeEnd",s);
- // hdwallpapersnew.com wallpapersol.com
- // wallpapersus.com ''|jp|bg|nl|cz|no|da|pl|de|pt|es|ru|fi|sv|fr|sr|hu|uk|id|cn|it|tw
- // www.my-walls.net www|ja|bg|nl|cz|no|da|pl|de|pt|es|ru|fi|sv|fr|sr|hu|uk|id|cn|it|ipad
- }
- /* init */
- document.body.innerHTML="<div id=\"navtop\" style=\"font:menu\"></div><div id=\"data1\" style=\"font:menu;min-height:12240px;overflow-y:visible;\"></div><div id=\"navbot\" style=\"font:menu\"></div>"
- x.data1=document.getElementById("data1");
- _nav1();
- /*
- <img src="http://www.listofcarbrands.com/wp-content/themes/w-minfolio-1/timthumb.php?src=http://www.listofcarbrands.com/wp-content/uploads/2013/04/2013-Dodge-SRT-Viper-GTS-R-SRT-Viper-GTS.jpg&h=200&w=300&zc=1" alt="2013 Dodge SRT Viper GTS-R – SRT Viper GTS" width="300" height="200" />
- */
- x.next=function(){
- window.stop&&window.stop();
- for (var i=x.j;i<x.j+x.pageSize;i++) setTimeout(get_url,(i-x.j-1)*200,ig+x.url.replace("$i",i),parse1);
- setTimeout(get_url,5000,ig+x.url.replace("$i",i)); // prefetch
- a=(data1.innerHTML.match(/http.*?jpe*g/g)||[]).join("\n").replace(/(127.0.0.\d+\/wp1\/)|(i\d+1.wp.com\/)/gim,"").split("\n");
- post_imgur(a,print1);
- document.title=x.title1 +" - " + x.j;
- x.j+=x.pageSize;
- window.scroll(0,0);
- x.data1.innerHTML="";
- function print1(){
- window.hl=this.toString();console.log(hl,hl.split("\n").length-1);
- }
- function parse1(){
- var a = (this.match(x.match)||[]).map(function(v){return v.replace(/-\d+x\d+(?=\.jpe*g)/,"")});
- a=unique1(a);
- b=a.map(function(v,i){return '<img src="http://127.0.0.'+(i%10+1)+'/wp1/'+v.substring(7)+'?resize=320,200" class="t" alt=""/>'});
- x.data1.insertAdjacentHTML("beforeend",b.join(""));
- }
- }
- x.prev=function(){
- x.j-=x.pageSize*2; if(x.j<=1) x.j=1; x.next();
- }
- x.preview=function(e){
- var e=e.srcElement||e.target;
- if (e.tagName!="IMG") return;
- console.log(e.src);
- }
- document.onclick=x.preview;
- document.onkeyup=function(e){
- // console.log(e.which , e.keyCode,document.height,window.pageYOffset,window.innerHeight)
- if (e.keyCode==34 && (document.height-window.pageYOffset-window.innerHeight)==0)x.next(); /* pgdn */
- if (e.keyCode==33 && window.pageYOffset==0)x.prev(); /* pgup */
- }
- function unique1(a){for(var c=Object.create(null),d=[],b=a.length;b--;)c[a[b]]||(c[a[b]]=!0,d.push(a[b]));return d};
- function get_url(url,callback) {
- var k=url.replace(ig,"");
- if (cache1.hasOwnProperty(k) && callback) {callback.call(cache1[k]);return};
- var r=new XMLHttpRequest();
- r.open("GET",url,true);
- r.onreadystatechange=function(){
- if (this.readyState==4 && this.status==200) {cache1[k]=this.responseText; callback&&callback.call(this.responseText);};
- }
- r.send();
- }
- /* upload imgur */
- function post_imgur(a,callback) {
- var r=new XMLHttpRequest();
- r.open("POST","http://176.34.162.148/jabry/imgur1.asp?u=&b=",true);
- r.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
- r.onreadystatechange=function(){if (this.readyState==4 && this.status==200) callback.call(this.responseText); }
- r.send("u=" + a.join(","));
- }
- /*
- x.pages=parseInt(s.match(/\/page\/(\d+)/g).reverse()[0].match(/\d+/))||-1;
- x.category=s.match(/\/category\/(\S+)\/">(\S+)<\/a>/gim).join("\n").replace(/\/category\/(\S+)\/">(\S+)<\/a>/gim,"$1 $2");
- s.match(/\/category\/(\S+)\/">(\S+)<\/a>/gim)
- var re=/\/tag\/(\S+)\/.*?>(\S+)<\/a> \((\d+)\)<\/li>/g;
- while ((r = re.exec(s)) !== null) {
- tags.push([r[1],r[2],r[3]]);
- }
- */
- wp("wallpaperswiki.org");x.next();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement