Skip to content

Instantly share code, notes, and snippets.

@DavidSandey
Created June 11, 2009 22:50
Show Gist options
  • Save DavidSandey/128285 to your computer and use it in GitHub Desktop.
Save DavidSandey/128285 to your computer and use it in GitHub Desktop.
//Note: This command was automatically generated by the create-bookmarklet-command command.
CmdUtils.makeBookmarkletCommand({
name: "add-to-twine",
url: "javascript:(function(){var%20d=document,w=window,l=d.location,e=encodeURIComponent;if(!d.getElementById('rdr-script'))try{var%20s=d.createElement('script');s.type='text/javascript';s.id='rdr-script';s.src='http://www.twine.com/js/spotthis.js';(d.body||d.documentElement).appendChild(s);}catch(x){var%20p='?u='%20+e(l.href)%20+'&t='+e(d.title)%20+'&v=3',u='http://www.twine.com/bookmark/basic'+p;l.href=u%20+'&adv=1';}})()"
});
//Note: This command was automatically generated by the create-bookmarklet-command command.
CmdUtils.makeBookmarkletCommand({
name: "clip-to-evernote",
url: "javascript:(function(){EN_CLIP_HOST='http://preview.evernote.com';try{var%20x=document.createElement('SCRIPT');x.type='text/javascript';x.src=EN_CLIP_HOST+'/public/bookmarkClipper.js?'+(new%20Date().getTime()/100000);document.getElementsByTagName('head')[0].appendChild(x);}catch(e){location.href=EN_CLIP_HOST+'/clip.action?url='+encodeURIComponent(location.href)+'&title='+encodeURIComponent(document.title);}})();"
});
//Note: This command was automatically generated by the create-bookmarklet-command command.
CmdUtils.makeBookmarkletCommand({
name: "shorten-link-@-cli.gs",
url: "javascript:(function(){%20window.open('http://cli.gs/cligs/new?url='+encodeURIComponent(location.href)+'&title='+encodeURIComponent(document.title));%20})();"
});
//Note: This command was automatically generated by the create-bookmarklet-command command.
CmdUtils.makeBookmarkletCommand({
name: "to-english",
url: "javascript:var%20t=((window.getSelection&&window.getSelection())||(document.getSelection&&document.getSelection())||(document.selection&&document.selection.createRange&&document.selection.createRange().text));var%20e=(document.charset||document.characterSet);if(t!=''){location.href='http://translate.google.com/translate_t?text='+t+'&hl=en&langpair=auto|en&tbb=1&ie='+e;}else{location.href='http://translate.google.com/translate?u='+escape(location.href)+'&hl=en&langpair=auto|en&tbb=1&ie='+e;};"
});
//Note: This command was automatically generated by the create-bookmarklet-command command.
CmdUtils.makeBookmarkletCommand({
name: "i-need-to-read-this",
url: "javascript:%28function%28%29%20%7Bwindow.ineedtoreadthis%20%3D%20window.open%28%22%22%2C%20%22intrt%22%2C%22scrollbars%3D0%2Cstatus%3D0%2Cresizable%3D1%2Clocation%3D0%2Ctoolbar%3D0%2Cwidth%3D340%2Cheight%3D300%22%29%3Bvar%20div%20%3D%20document.createElement%28%22div%22%29%3Bdocument.body.appendChild%28div%29%3Bdiv.innerHTML%20%3D%20%22%3Cform%20target%3D%27intrt%27%20method%3D%27post%27%3E%3Cinput%20type%3D%27hidden%27%20name%3D%27url%27/%3E%3Cinput%20type%3D%27hidden%27%20name%3D%27title%27/%3E%3Cinput%20type%3D%27hidden%27%20name%3D%27guid%27/%3E%3C/form%3E%22%3Bvar%20form%20%3D%20div.childNodes%5B0%5D%3Bform.action%20%3D%20%22http%3A//ineedtoreadthis.com/add_bookmark/%22%3Bform.url.value%20%3D%20document.location.href%3Bform.title.value%20%3D%20document.title%3Bform.guid.value%20%3D%20%22c94da0cd-c6af-48d1-b9e6-8e870cfa3567%22%3Bform.submit%28%29%3Bvar%20script%20%3D%20document.createElement%28%22script%22%29%3Bscript.setAttribute%28%27src%27%2C%20%27http%3A//media.ineedtoreadthis.com/js/bookmarklet_add.js%27%29%3Bscript.setAttribute%28%27type%27%2C%20%27text/javascript%27%29%3Bdocument.body.appendChild%28script%29%3B%7D%29%28%29%3B"
});
//Note: This command was automatically generated by the create-bookmarklet-command command.
CmdUtils.makeBookmarkletCommand({
name: "read-an-article",
url: "javascript:%28function%28%29%20%7Bvar%20div%20%3D%20document.createElement%28%22div%22%29%3Bdocument.body.appendChild%28div%29%3Bdiv.innerHTML%20%3D%20%22%3Cform%20method%3D%27post%27%3E%3C/form%3E%22%3Bvar%20form%20%3D%20div.childNodes%5B0%5D%3Bform.action%20%3D%20%22http%3A//ineedtoreadthis.com/pop/%3Fguid%3Dc94da0cd-c6af-48d1-b9e6-8e870cfa3567%22%3Bform.submit%28%29%3B%7D%29%28%29%3B"
});
//Note: This command was automatically generated by the create-bookmarklet-command command.
CmdUtils.makeBookmarkletCommand({
name: "readable",
url: "javascript:(function(){if(document.getElementsByTagName('html').length>0);else{return;}if(document.getElementsByTagName('body').length>0);else{return;}if(window.$readable);else{window.$readable={};window.$readable.path='http://readable-app.appspot.com/';}window.$readable.options={};window.$readable.options.base='blueprint';window.$readable.options.font_family='wide_sans_serif';window.$readable.options.font_size='14';window.$readable.options.text_line_height='1_5';window.$readable.options.text_align='normal';window.$readable.options.text_image_align='center';window.$readable.options.text_box_width='35_em';window.$readable.options.text_box_align='center';window.$readable.options.text_box_outer_margin='1';window.$readable.options.text_box_inner_margin='4_5';window.$readable.options.color_theme='light_grey_off_black';window.$readable.options.background_transparency='90';window.$readable.options.background_transparency_color='from_theme';window.$readable.options.video='keep_major';if(window.$readable.callScript){window.$readable.callScript();return;}if(document.getElementsByTagName('head').length>0);else{document.getElementsByTagName('html')[0].insertBefore(document.createElement('head'),document.getElementsByTagName('body')[0]);}document.getElementsByTagName('head')[0].appendChild(document.createElement('script')).setAttribute('src',window.$readable.path+'target.js?rand='+encodeURIComponent(Math.random()));})()"
});
//Note: This command was automatically generated by the create-bookmarklet-command command.
CmdUtils.makeBookmarkletCommand({
name: "pagezipper",
url: "javascript:(function(){if(window['pgzp']){_pgzpToggleBookmarklet();}else{window._page_zipper_is_bookmarklet=true;window._page_zipper=document.createElement('script');window._page_zipper.type='text/javascript';window._page_zipper.src='http://www.printwhatyoulike.com/static/pagezipper/pagezipper_10.js';document.getElementsByTagName('head')[0].appendChild(window._page_zipper);}})();"
});
//Note: This command was automatically generated by the create-bookmarklet-command command.
CmdUtils.makeBookmarkletCommand({
name: "design-mode",
url: "javascript:%20document.body.contentEditable=(document.body.contentEditable=='true'?'false':'true');%20document.designMode=(document.designMode=='on'?'off':'on');%20void(0);"
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment