Skip to content

Instantly share code, notes, and snippets.

@golive
Created May 29, 2010 15:50
Show Gist options
  • Save golive/418339 to your computer and use it in GitHub Desktop.
Save golive/418339 to your computer and use it in GitHub Desktop.
> Gerbert's Custom Quix Commands
@custom
txt javascript:location.href='http://www.aaronsw.com/2002/html2text/?url='+document.location.href; Convert current page to text (valid markdown)
pdf http://pdfmyurl.com?url=%r Create a PDF from this page
edit javascript:document.body.contentEditable='true';%20document.designMode='on';%20void%200 Edit page
wtf javascript:(function(){var%20m,n=[],j,c,t=document.getElementById("_wtframework"),q=0;c=function(){document.body.removeChild(m);};if(t){document.body.removeChild(t);return;}var%20b=["MooTools.version","MooTools.More.version","base2.version","dojo.version","Ext.version","jQuery.fn.jquery","$.ui.version","MochiKit.MochiKit.VERSION","Prototype.Version","Scriptaculous.Version","YAHOO.VERSION","S2.Version"];var%20r=["MooTools%20Core","MooTools%20More","Base2","Dojo","Ext%20JS","jQuery","jQuery%20UI","MochiKit","Prototype","Script.aculo.us","Yahoo%20UI","Scripty2"];var%20k={cursor:"pointer",textAlign:"left",padding:"8px%2010px",margin:"0%200%205px",listStyle:"none",font:"bold%2011px%20Lucida%20Grande",backgroundColor:"rgba(0,%200,%200,%200.7)",color:"#fff",BorderRadius:"5px",MozBorderRadius:"5px",WebkitBorderRadius:"5px",borderTop:"solid%201px%20rgba(255,%20255,%20255,%200.4)",borderLeft:"solid%201px%20rgba(0,%200,%200,%200.8)",borderRight:"solid%201px%20rgba(0,%200,%200,%200.8)",borderBottom:"solid%201px%20#000",textShadow:"0%201px%200%20#000",BoxShadow:"0%20-1px%200%20#000",MozBoxShadow:"0%20-1px%200%20#000",WebkitBoxShadow:"0%20-1px%200%20#000",cssFloat:"right",clear:"both"};var%20l={width:"190px",position:"fixed",padding:"0",margin:"0",right:"10px",top:"10px",zIndex:30000};var%20e={onclick:c,id:"_wtframework"};m=document.createElement("ul");for(var%20d%20in%20e){m[d]=e[d];}for(var%20h%20in%20l){m.style[h]=l[h];}document.body.appendChild(m);var%20f=function(v,i){n=document.createElement("li");n.innerHTML=v+(i?"%20("+i+")":"");for(var%20u%20in%20k){n.style[u]=k[u];}m.appendChild(n);};for(var%20a%20in%20b){if(b.hasOwnProperty(a)){var%20g=b[a].split("."),o=window;for(var%20p%20in%20g){if(g.hasOwnProperty(p)){o=o&&o[g[p]];}}if(o){f(r[a],o);q++;}}}if(q<1){f("No%20framework%20detected");}})(); Shows JavaScript framework used
jq javascript:%20(function(){var%20el=document.createElement('div'),b=document.getElementsByTagName('body')[0];otherlib=false,msg='';el.style.position='fixed';el.style.height='32px';el.style.width='220px';el.style.marginLeft='-110px';el.style.top='0';el.style.left='50%';el.style.padding='5px%2010px%205px%2010px';el.style.zIndex=1001;el.style.fontSize='12px';el.style.color='#222';el.style.backgroundColor='%23f99';if(typeof%20jQuery!='undefined'){msg='This%20page%20already%20using%20jQuery%20v'+jQuery.fn.jquery;return%20showMsg();}else%20if(typeof%20$=='function'){otherlib=true;}%20function%20getScript(url,success){var%20script=document.createElement('script');script.src=url;var%20head=document.getElementsByTagName('head')[0],done=false;script.onload=script.onreadystatechange=function(){if(!done&&(!this.readyState||this.readyState=='loaded'||this.readyState=='complete')){done=true;success();}};head.appendChild(script);}%20getScript('http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js',function(){if(typeof%20jQuery=='undefined'){msg='Sorry,%20but%20jQuery%20wasn\'t%20able%20to%20load';}else{msg='This%20page%20is%20now%20jQuerified%20with%20v'+jQuery.fn.jquery;if(otherlib){msg+='%20and%20noConflict().%20Use%20$jq(),%20not%20$().';}}%20return%20showMsg();});function%20showMsg(){el.innerHTML=msg;b.appendChild(el);window.setTimeout(function(){if(typeof%20jQuery=='undefined'){b.removeChild(el);}else{jQuery(el).fadeOut('slow',function(){jQuery(this).remove();});if(otherlib){$jq=jQuery.noConflict();}}},2500);}})(); jQueryify
rb javascript:(function(){readStyle='style-athelas';readSize='size-large';readMargin='margin-x-narrow';_readability_script=document.createElement('SCRIPT');_readability_script.type='text/javascript';_readability_script.src='http://lab.arc90.com/experiments/readability/js/readability.js?x='+(Math.random());document.getElementsByTagName('head')[0].appendChild(_readability_script);_readability_css=document.createElement('LINK');_readability_css.rel='stylesheet';_readability_css.href='http://lab.arc90.com/experiments/readability/css/readability.css';_readability_css.type='text/css';_readability_css.media='all';document.getElementsByTagName('head')[0].appendChild(_readability_css);_readability_print_css=document.createElement('LINK');_readability_print_css.rel='stylesheet';_readability_print_css.href='http://lab.arc90.com/experiments/readability/css/readability-print.css';_readability_print_css.media='print';_readability_print_css.type='text/css';document.getElementsByTagName('head')[0].appendChild(_readability_print_css);})(); Readability
eye javascript:void(window.open('http://tineye.com/search?pluginver=bookmark_1.0&url='%20+%20encodeURIComponent(document.URL))); TinyEye: Where's this image from?
clip http://cl1p.net/%s Make a new cl1p.net page from keyword
ril javascript:(function(){ISRIL_H='0967';ISRIL_SCRIPT=document.createElement('SCRIPT');ISRIL_SCRIPT.type='text/javascript';ISRIL_SCRIPT.src='http://readitlaterlist.com/b/r.js';document.getElementsByTagName('head')[0].appendChild(ISRIL_SCRIPT)})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment