Skip to content

Instantly share code, notes, and snippets.

@1000k
Created May 14, 2014 09:16
Show Gist options
  • Save 1000k/27e68327f40f95ee2594 to your computer and use it in GitHub Desktop.
Save 1000k/27e68327f40f95ee2594 to your computer and use it in GitHub Desktop.
Customized [Readable Bookmarklet](http://readable.tastefulwords.com/).
javascript:(function(){_readableOptions={'text_font':'Meiryo, Helvetica, quote(Helvetica Neuve), Arial, Tahoma, sans-serif','text_font_monospace':'quote(Courier New), Courier, monospace','text_font_header':'Meiryo, quote(Palatino Linotype), Palatino, quote(Book Antigua), Georgia, serif','text_size':'2rem','text_line_height':'1.5','box_width':'90%','color_text':'#FFFFFF','color_background':'#2D2D2D','color_links':'#99CCFF','text_align':'normal','base':'blueprint','custom_css':'h1, h2, h3, h4, h5, h6, p, pre, tr, li { transition: background 0.1s ease-in;}h1 { border-style:double; border-width:4px 0; border-color:#fff; padding:2rem 1rem; text-align:center !important; }h3 { border-bottom:1px solid #fff;}h4 { border-left:8px solid #fff; padding-left:0.5rem;}h1:hover,h2:hover,h3:hover,h4:hover,h5:hover,h6:hover,p:hover,pre:hover,tr:hover,li:hover,caption:hover { background: #35a;}pre {overflow: scroll; border: 1px solid #999; padding: 0.5rem; background: #126;}'};if(document.getElementsByTagName('body').length>0);else{return;}if(window.$readable){if(window.$readable.bookmarkletTimer){return;}}else{window.$readable={};}window.$readable.bookmarkletTimer=true;window.$readable.options=_readableOptions;if(window.$readable.bookmarkletClicked){window.$readable.bookmarkletClicked();return;}_readableScript=document.createElement('script');_readableScript.setAttribute('src','http://readable-static.tastefulwords.com/target.js?rand='+encodeURIComponent(Math.random()));document.getElementsByTagName('body')[0].appendChild(_readableScript);})()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment