Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var j= j||258271;
- function artleo_preview(start){
- if (!start) start=69373;
- /*
- for (var a=[],i=start;i>start-448;i--) {a.push('<img src="http://i'+ (i%3) + '.wp.com/www.artleo.com/mini/'+m(i)+'/'+i+'.jpg?resize=320,200" style="width:320px;height:200px" onerror="rem2(this)" />'); if (i==1) break;}
- */
- /*
- for (var a=[],i=start;i>start-450;i--) {a.push('<img src="https://images.weserv.nl/?url=www.artleo.com/mini/'+m(i)+'/'+i+'.jpg&w=320&h=200&t=square&trim" style="width:320px;height:200px" onerror="rem2(this)" />'); if (i==1) break;}
- */
- for (var a=[],i=start;i>start-448;i--) {a.push('<img src="http://127.0.0.'+ (i%10+1) + '/wp1/www.artleo.com/mini/'+m(i)+'/'+i+'.jpg?resize=320,200" style="width:320px;height:200px" onerror="rem4(this)" />'); if (i==1) break;}
- window.stop();
- document.body.innerHTML='<div id="data1">'+shuffle(a).join("")+'</div>';
- document.body.insertAdjacentHTML("beforeEnd",'<br><a href="#" onclick="artleo_preview(j-=448);setTimeout(window.scroll,200,0,0);return false;" style="font:menu;font-size:14pt;color:black;text-decoration:none;">more</a>');
- document.body.insertAdjacentHTML("beforeEnd",'<a href="#" onclick="artleo_preview(j+=448);setTimeout(window.scroll,200,0,0);return false;" style="font:menu;font-size:9pt;color:black;text-decoration:none;margin-left:10px;" title="scroll back"> scroll back </a>');
- document.title="artleo - " +start;
- }
- document.onkeypress=function(e){if (e.keyCode==106){artleo_preview(j-=448);window.scroll(0,0);return false};if (e.keyCode==107){artleo_preview(j+=448);window.scroll(0,0);return false}};
- function shuffle(array) {
- for (var tmp, cur, top=array.length; top--;){
- cur = (Math.random() * (top + 1)) << 0;
- tmp = array[cur]; array[cur] = array[top]; array[top] = tmp;
- }
- return array;
- }
- function rem1(el){setTimeout(function(){el.parentElement.removeChild(el)},100);}
- function rem2(el){el.style.display="none";}
- function rem3(el){el.style.visibility="hidden";}
- function rem4(el){
- el.style.display="none";
- el.parentElement.removeChild(el);
- j-=1;
- data1.insertAdjacentHTML('beforeEnd',
- '<img src="http://127.0.0.'+ (j%10+1) + '/wp1/www.artleo.com/mini/'+m(j)+'/'+j+'.jpg?resize=320,200" style="width:320px;height:200px" onerror="rem4(this)" />');
- }
- function m(b) {
- var a = 201512;
- 254691 > b && (a=201511);
- 239498 > b && (a=201510);
- 230803 > b && (a=201509);
- 226867 > b && (a=201508);
- 212056> b && (a =201507)
- 189285> b && (a =201506);
- 165932> b && (a =201505);
- 157886> b && (a =201504);
- 138747> b && (a =201503);
- 121629> b && (a = 201502);
- 110664> b && (a = 201501);
- 103256> b && (a = 201412);
- 98447> b && (a = 201411);
- 92377> b && (a = 201410);
- 87182> b && (a = 201409);
- 83790 > b && (a = 201408);
- 81067 > b && (a = 201407);
- 78137 > b && (a = 201406);
- 75988 > b && (a = 201405);
- 73758 > b && (a = 201404);
- 71600 > b && (a = 201403);
- 69358 > b && (a = 201402);
- 67008 > b && (a = 201401);
- 64055 > b && (a = 201312);
- 61048 > b && (a = 201311);
- 59169 > b && (a = 201310);
- 56400 > b && (a = 201309);
- 54114 > b && (a = 201308);
- 52324 > b && (a = 201307);
- 50274 > b && (a = 201306);
- 48127 > b && (a = 201305);
- 46044 > b && (a = 201304);
- 44085 > b && (a = 201303);
- 42142 > b && (a = 201302);
- 40183 > b && (a = 201301);
- 38579 > b && (a = 201212);
- 37318 > b && (a = 201211);
- 35692 > b && (a = 201210);
- b < 34114 && (a = 201209);
- b < 32439 && (a = 201208);
- b < 30144 && (a = 201207);
- b < 28274 && (a = 201206);
- b < 26001 && (a = 201205);
- b < 23536 && (a = 201204);
- b < 20910 && (a = 201203);
- b < 19312 && (a = 201202);
- b < 17044 && (a = 201201);
- b < 16039 && (a = 201112);
- b < 14714 && (a = 201111);
- b < 12742 && (a = 201110);
- b < 11505 && (a = 201109);
- b < 8939 && (a = 201108);
- b < 4497 && (a = 201107);
- b < 4332 && (a = 201106);
- b < 1412 && (a = 201105);
- b < 6 && (a = 201104);
- // 201104
- return a
- }
- artleo_preview(j);
- /*
- for (var i=0,l=document.images;i<l.length;i++) {var im=l[i]; if (im.width==0)im.parentNode.removeChild(im)}
- var a=document.body.innerHTML.match(/(\d+)\/(\d+)/g).join("\n").replace(/(\d+)\/(\d+)/g,'http://www.artleo.com/images/$1/artleo.com_$2.jpg').split("\n");
- post_imgur(a,function(){console.log(this.toString())});
- */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement