✄ marklet

Add to Readability

javascript:(%28function%28%29%7Bwindow.baseUrl%3D%27http%3A//www.readability.com%27%3Bwindow.readabilityToken%3D%27D4R5H3XFydRG4bn5KaTUHBzFAWNqR7Rtp8uKKCbX%27%3Bvar s%3Ddocument.createElement%28%27script%27%29%3Bs.setAttribute%28%27type%27%2C%27text/javascript%27%29%3Bs.setAttribute%28%27charset%27%2C%27UTF-8%27%29%3Bs.setAttribute%28%27src%27%2CbaseUrl%2B%27/bookmarklet/save.js%27%29%3Bdocument.documentElement.appendChild%28s%29%3B%7D%29%28%29)

Add to Pocket

javascript:(function(){var e=function(t,n,r,i,s){var o=[1964665,5828613,1950509,4457557,2609927,4553344,5228020,1018937,3225547,2477515];var i=i||0,u=0,n=n||[],r=r||0,s=s||0;var a={‘a’:97,’b’:98,’c’:99,’d’:100,’e’:101,’f’:102,’g’:103,’h’:104,’i’:105,’j’:106,’k’:107,’l’:108,’m’:109,’n’:110,’o’:111,’p’:112,’q’:113,’r’:114,’s’:115,’t’:116,’u’:117,’v’:118,’w’:119,’x’:120,’y’:121,’z’:122,’A’:65,’B’:66,’C’:67,’D’:68,’E’:69,’F’:70,’G’:71,’H’:72,’I’:73,’J’:74,’K’:75,’L’:76,’M’:77,’N’:78,’O’:79,’P’:80,’Q’:81,’R’:82,’S’:83,’T’:84,’U’:85,’V’:86,’W’:87,’X’:88,’Y’:89,’Z’:90,’0’:48,’1’:49,’2’:50,’3’:51,’4’:52,’5’:53,’6’:54,’7’:55,’8’:56,’9’:57,’\/’:47,’:’:58,’?’:63,’=’:61,’-‘:45,’_’:95,’&’:38,’$’:36,’!’:33,’.’:46};if(!s||s==0){t=o[0]+t}for(var f=0;f<t.length;f++){var l=function(e,t){return a[e[t]]?a[e[t]]:e.charCodeAt(t)}(t,f);if(!l*1)l=3;var c=l*(o[i]+l*o[u%o.length]);n[r]=(n[r]?n[r]+c:c)+s+u;var p=c%(50*1);if(n[p]){var d=n[r];n[r]=n[p];n[p]=d}u+=c;r=r==50?0:r+1;i=i==o.length-1?0:i+1}if(s==211){var v=”;for(var f=0;f<n.length;f++){v+=String.fromCharCode(n[f]%(25*1)+97)}o=function(){};return v+’7986ec8f9d’}else{return e(u+”,n,r,i,s+1)}};var t=document,n=t.location.href,r=t.title;var i=e(n);var s=t.createElement(‘script’);s.type=’text/javascript’;s.src=’https://getpocket.com/b/r4.js?h=’+i+’&u=’+encodeURIComponent(n)+’&t=’+encodeURIComponent(r);e=i=function(){};var o=t.getElementsByTagName(‘head’)[0]||t.documentElement;o.appendChild(s)})()

Google Translate -> English

javascript:(function(){l=location.href;if(l.indexOf(‘translate’)){l=decodeURIComponent(l.replace(/^.*[&?](trurl|url|u)=/,”).replace(/[&?].*$/,”))};s=document.selection?document.selection.createRange().text:window.getSelection?window.getSelection().toString():document.getSelection?document.getSelection():”;location.href=(s==”)?’http://translate.google.com/translate?u=’+encodeURIComponent(l)+’&sl=auto&tl=en&anno=0’:’http://translate.google.com/translate_t?text=’+s+’&sl=auto&tl=en’;})()

Huffduffer

javascript:var w=window.open(‘http://huffduffer.com/add?popup=true&page=’+encodeURIComponent(location.href),’huffduff’,’scrollbars=1,status=0,resizable=1,location=0,toolbar=0,width=360,height=480’);

Add To Pepperplate

javascript:(function(){var%20s=document.createElement(‘script’);s.src=’https://www.pepperplate.com/b/?u=’+encodeURIComponent( window.location )+’&a=’+Math.random();document.body.appendChild(s);})();

mlkshk

javascript:void((function(){var%20e=document.createElement(‘script’);e.setAttribute(‘type’,’text/javascript’);e.setAttribute(‘charset’,’UTF-8’);e.setAttribute(‘src’,’http://mlkshk.com/static/straw/compact.js?r=’+Math.random()*99999999);document.body.appendChild(e)})());

Pinboard History

search pinboard.in for stats on the current page

Source:

javascript:location.href=’http://pinboard.in/url?url=’+encodeURIComponent(location.href)

3D it!

Using CSS 3d to make every website into 3d(kind of). It is a bit buggy but you can bookmark the script to your bookmark bar and have some 3D fun on any websites by one single click! The get offset function is not accurate, it looks weird then the div is too large but it looks alright on most of the sites.

http://www.edankwan.com/lab/3dit

Source:

javascript:if(!window.ThreeDit){ThreeDit=function(a,b){function G(a){p=a.clientX+g.scrollLeft;q=a.clientY+g.scrollTop}function F(){var a=g.scrollLeft-t;var b=g.scrollTop-u;p=v=g.scrollLeft+r;q=w=g.scrollTop+s;n+=a;o+=b;x=v+l.clientLeft-e.pageXOffset;y=w+l.clientTop-e.pageYOffset;t=g.scrollLeft;u=g.scrollTop}function E(){r=e.innerWidth/2;s=e.innerHeight/2;p=v=g.scrollLeft+r;q=w=g.scrollTop+s;x=v+l.clientLeft-e.pageXOffset;y=w+l.clientTop-e.pageYOffset}function D(){n+=(p-n)*.05;o+=(q-o)*.05;var a=(n-v)/r*5;var b=-(o-w)/s*5;for(var e=0;e<d.length;e++){var f=d[e].node;var g=f;var h=0;var k=0;var l=d[e].z;f.style[i]=x-h+”px “+(y-k)+”px”;f.style[j]=”rotateY(“+a+”deg) rotateX(“+b+”deg)translate3d(0px,0px, “+l*c.zDepth+”px)”}}function C(){var a;for(var b=0;b<d.length;b++){d[b].node.style[j]=”none”}delete d;d=[];A(g,0);d.push({node:g,z:0});d.sort(function h(a,b){return a.z-b.z});var c=0;var e=[c];d[0].z=c;for(var b=1;b<d.length;b++){e.push(c=d[b].z==d[b-1].z?c:c+1)}var f=e[e.length-1];for(var b=0;b<d.length;b++){d[b].z=e[b]/f}}function B(a){c.perspective=a;k[h+”Perspective”]=c.perspective+”px”}function A(a,b,e){if(d.length>=c.maxElems-1)return;if(!e&&a.tagName==”DIV”&&a.childNodes.length>0){d.push({node:a,z:b})}for(var f=0;f<a.childNodes.length;f++){A(a.childNodes[f],b+1,a.childNodes.length<2)}}function z(a){f=a;g=f.body;h=”webkitTransform”in g.style?”webkit”:”MozTransform”in g.style?”Moz”:null;i=h+”TransformOrigin”;j=h+”Transform”;l=f.documentElement;k=l.style;m=e.getComputedStyle;t=g.scrollLeft;u=g.scrollTop;k[h+”Perspective”]=c.perspective+”px”;k.backgroundImage=m(g).getPropertyValue(“background-image”);k.backgroundColor=m(g).getPropertyValue(“background-color”);C();if(!c.initialized){E();n=p;o=q;e.addEventListener(“resize”,E);e.addEventListener(“scroll”,F);f.addEventListener(“mousemove”,G);setInterval(D,1e3/60)}c.initialized=true}var c={zDepth:300,maxElems:100,perspective:500,initialized:false};var d=[];var e=a;var f=b;var g;var h;var i;var j;var k;var l;var m;var n;var o;var p;var q;var r;var s;var t;var u;var v;var w;var x;var y;c.init=z;c.recollectElems=C;c.render=D;c.changePerspective=B;return c}(window,document);ThreeDit.init(document);}else{ThreeDit.recollectElems();}

Goodreads

from any book page on Amazon.com, use this bookmarklet to add the title to your lists on Goodreads.com

Source:

javascript:// var array = document.URL.match(/amazon.(.*?)\/.*?\/.*?\/(.{10})/); if (array == null) { alert(‘Sorry, this doesn't appear to be an Amazon book page.’); } else { var x = window.open(‘http://www.goodreads.com/review/isbn/’+ array[2] + ‘?tld=’ + array[1] + ‘&from=bm’, ‘add_review’); x.focus(); }

Add to Pinboard

Source:

javascript://q=location.href;if(document.getSelection){d=document.getSelection();}else{d=”;};p=document.title;void(open(‘https//pinboard.in/add?url=’+encodeURIComponent(q)+’&description=’+encodeURIComponent(d)+’&title=’+encodeURIComponent(p),’Pinboard’,’toolbar=no,width=700,height=350’));