Created
April 14, 2011 23:38
-
-
Save oz/920837 to your computer and use it in GitHub Desktop.
A few bookmarklets I converted to Pentadactyl commands...
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
" Bookmark page with Pinboard.in | |
com -nargs=0 pin execute "open " + function(doc) { if(doc.getSelection){s=doc.getSelection();}else{s='';}; return 'https://pinboard.in/add?next=same&url='+encodeURIComponent(doc.location.href)+'&description='+encodeURIComponent(s)+'&title='+encodeURIComponent(doc.title) }(content.document) | |
" Read page later with Instapaper.com | |
com -nargs=0 readlater javascript (function(d){var z=d.createElement('scr'+'ipt'),b=d.body;try{if(!b)throw(0);d.title='(Saving...)'+d.title;z.setAttribute('src','http://www.instapaper.com/j/CJFRXrpfV0rU');b.appendChild(z);}catch(e){alert('Please wait until the page has loaded.');}void(0)})(content.document) | |
" Have more? :) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This one saves you from having to reach for the mouse to vote on Stack Overflow and the like. ;D (
:vote
and thenf up
)Here's a gist too, to make it easier for Google etc. to find it: https://gist.github.com/emlun/4ea148b1166ec7b1e6dc