Google

Not content with adding mousewheel support for 30 Boxes, I have since written a GreaseMonkey script which provides keyboard and mouse support to Google. Several people have tried this in the past, but I couldn’t get any of their scripts to work – mostly due to simple mistakes in the XPath queries. My script, hopefully, uses XPath generically enough that google will have to make radical changes to their layout code for it to break. It has the following functionality:

  • Number Keys 0-9 – Jump straight to the link with that number (0 jumps to result 10)
  • Letter Keys J and K – Move up and down through the results
  • Enter or F keys – Follow the currently highlighted link.
  • Mousewheel – Scroll through the selections and the page (try it – it works).

I’m happy to add more functionality as I think of it. If anyone has any suggestions then post them in the comments section and I’ll see what I can do.

Follow this link to download the Google User Interface Enhancements

UPDATE

No sooner had I posted this than a bug report arrived stating that I had hardcoded the number of result to 10. The following link fixes that and makes the link numbers slightly less obtrusive.

Click here to download the Google User Interface Enhancements v0.11

I’ve also been told that the links don’t install – I need to log into my webserver to fix that. In the mean time please change the extension to “.user.js” and then dragging the script into a firefox window should install it.

Leave a Comment