Skip to content

Instantly share code, notes, and snippets.

//Note: This command was automatically generated by the create-bookmarklet-command command.
CmdUtils.makeBookmarkletCommand({
name: "printwhatyoulike",
url: "javascript:(function(){if(window['ppw']&&ppw['bookmarklet']){ppw.bookmarklet.toggle();}else{window._pwyl_home=\"http://www.printwhatyoulike.com/\";window._pwyl_bmkl=document.createElement('script');window._pwyl_bmkl.setAttribute('type','text/javascript');window._pwyl_bmkl.setAttribute('src',window._pwyl_home+'static/compressed/pwyl_bookmarklet_10.js');window._pwyl_bmkl.setAttribute('pwyl','true');document.getElementsByTagName('head')[0].appendChild(window._pwyl_bmkl);}})();"
});
//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);}})();"
});
CmdUtils.makeBookmarkletCommand({
name: "note-in-reader",
url: "javascript:var%20b=document.body;var%20GR________bookmarklet_domain='http://www.google.com';if(b&&!document.xmlVersion){void(z=document.createElement('script'));void(z.src='http://www.google.com/reader/ui/link-bookmarklet.js');void(b.appendChild(z));}else{}"
});
CmdUtils.CreateCommand({
name: "goto-url",
takes: {status: noun_arb_text},
description: "open browser to specified url",
// preview: function( pblock, statusText) {
// jQuery.ajax({
// async: false,
// type: "GET",
// url: statusText.text,
// success: function() {
CmdUtils.makeBookmarkletCommand({
name: "readability",
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
CmdUtils.CreateCommand({
name: "is.gd",
icon: "http://is.gd/favicon.ico",
homepage: "http://arunstechcorner.blogspot.com",
author: { name: "Arun Shivaram", email: "arunsonnet@gmail.com"},
license: "GPL",
description: "Shortens the selected URL using is.gd",
help: "is.gd <long url>",
takes: {"longurl": noun_arb_text},
preview: function( pblock, lurl ) {