sample code/usage for javascript bookmarklet integration?

78 views
Skip to first unread message

yokull

unread,
Jan 18, 2011, 8:54:07 PM1/18/11
to penta...@googlegroups.com
hi
wondering whether there were any examples of integrating pentadactyl with browser bookmarklets (instapaper, delicious, etc)?
anything regarding assigning keyboard shortcuts to trigger bookmarklets located in the bookmarks bar?
thnx
y

Felix R.

unread,
Jan 21, 2011, 3:47:37 AM1/21/11
to Pentadactyl
Just add the bookmarklet to your bookmarks as usual and add a keyword
to it. Then can use it with

:o mybmletkeyword

and of course you can add a mapping like

:map m :o mybmletkeyword<CR>

to 'open' the bookmarklet with a keyboard shortcut (in this example
'm')

- felix


Reply all
Reply to author
Forward
0 new messages