I'm a shortcut freako

14 August 2008 (updated 04 March 2015)

I like shortcuts, keyboard shortcuts. I like javascript. I have greasemonkey installed. I navigate lots of sites with buttons/links in uncomfortable positions. Therefore, I must definitely do something about it!

I've made a userscript that offers me a way to bind a key combination to a clickable element chosen by a xpath expression. It still misses a way to easy edit previous bindings but I'll provide it later, I promise!

You can still edit the bindings (well, more likely remove them) via about:config (the 'greasemonkey.scriptvals.ShortcutBinder/Shortcut Binder.bindings' setting).

Grab the script from here.

For a quick overview (bunch of screenshots) check this: http://code.google.com/p/webmonkey-userscripts/wiki/ShortcutBinder

Ah heck, here's one quick and dirty:

Screenshort of ShortcutBinder

This entry was tagged as greasemonkey javascript script shortcut userscript xpath