-
-
Save nashv/77106 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Note: This command was automatically generated by the create-bookmarklet-command command. | |
CmdUtils.makeBookmarkletCommand({ | |
name: "rd", | |
icon: "http://nashv.de/nash.ico", | |
preview: "format current page for better readability", | |
url: "javascript:(function(){readStyle='style-newspaper';readSize='size-medium';readMargin='margin-medium';_readability_script=document.createElement('SCRIPT');_readability_script.type='text/javascript';_readability_script.src='http://lab.arc90.com/experiments/readability/js/readability-0.1.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';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);})();" | |
}); | |
//Note: This command was automatically generated by the create-bookmarklet-command command. | |
CmdUtils.makeBookmarkletCommand({ | |
name: "gbm", | |
icon: "http://nashv.de/nash.ico", | |
preview: "Bookmark on Google Bookmarks", | |
url: "javascript:(function(){var%20a=window,b=document,c=encodeURIComponent,d=a.open(\"http://www.google.com/bookmarks/mark?op=edit&output=popup&bkmk=\"+c(b.location)+\"&title=\"+c(b.title),\"bkmk_popup\",\"left=\"+((a.screenX||a.screenLeft)+10)+\",top=\"+((a.screenY||a.screenTop)+10)+\",height=420px,width=550px,resizable=1,alwaysRaised=1\");a.setTimeout(function(){d.focus()},300)})();" | |
}); | |
//Note: This command was automatically generated by the create-bookmarklet-command command. | |
CmdUtils.makeBookmarkletCommand({ | |
name: "dbm", | |
icon: "http://nashv.de/nash.ico", | |
preview: "Bookmark on Del.icio.us", | |
url: "javascript:(function(){f='http://delicious.com/save?url='+encodeURIComponent(window.location.href)+'&title='+encodeURIComponent(document.title)+'&v=5&';a=function(){if(!window.open(f+'noui=1&jump=doclose','deliciousuiv5','location=yes,links=no,scrollbars=no,toolbar=no,width=550,height=550'))location.href=f+'jump=yes'};if(/Firefox/.test(navigator.userAgent)){setTimeout(a,0)}else{a()}})()" | |
}); | |
//FTP launcher | |
CmdUtils.makeBookmarkletCommand({ | |
name: "ftp", | |
icon: "http://nashv.de/nash.ico", | |
preview: "Launch FireFTP", | |
url: "chrome://fireftp/content/fireftp.xul" | |
}); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment