Home > GreaseMonkey > Safari Books Greasemonkey Script

Safari Books Greasemonkey Script

February 3rd, 2009

I recently subscribed to Safari Books Online, which allows you to read a limitless number of technical books for a single flat rate. It’s a great service, but the web interface is lacking usability. Being a web developer and a constant perfectionist, I decided to fix a couple of their problems with a greasemonkey script. This greasemonkey script does a couple of things that I think Safari Books should have offered (unless I missed something). First, it allows you to go to the next and previous pages without clicking your mouse. Press the j key for next and k for previous (only reason I picked those is because I’m so used to Google Reader and vim). The other thing it does is a better full screen display. If you press the f key all the junk that you don’t need when reading a book disappears, if you want the junk back, press f again.

You can install the script by clicking here

Comments? Ideas?

Related posts:

  1. ToodleDo - Folder Categories Script 1.0 I use ToodleDo a lot. It basically manages my life,...

GreaseMonkey

  1. Vj
    April 26th, 2009 at 17:30 | #1

    Works well. Thanks a bunch.

  2. April 29th, 2009 at 18:17 | #2

    Hi JGA,

    This is a great script very useful thanks!! I have a problem though, when I use the forward and back keys the page automatically scrolls to the top or bottom of the page, it scrolls very quickly therefore I am unable to read the page, I do not see anything in the script which should cause this behaviour. Ideally I would like the page to stay at the top when advancing and then use the scroll wheel manually to scroll the page. Any ideas?

  3. April 29th, 2009 at 18:32 | #3

    Hi Again,

    I actually found out the problem SurfKeys another Firefox Extension was causing the autoscrolling. I have disabled Surfkeys and I am good to go now.

    Thanks

  4. June 16th, 2009 at 17:08 | #4

    Hey, I came across you script today. It didn’t seem to work, so I updated it. I converted it to work with jquery for my ease of programming. Feel free to convert it back to native JavaScript, but I didn’t want to take the time to work the xpath conversion. http://faunzy.tumblr.com/post/124853519/greasemonkey-safari-bookshelf

    faun.

  5. July 14th, 2009 at 10:30 | #5

    This is fantastic, exactly what the UI needs. Thank you!

  6. cz
    September 5th, 2009 at 01:55 | #6

    Faun’s script didn’t work for me so I banged on it and added some things.

    http://userscripts.org/scripts/show/55546

    Wish I could remove that dependency on JQuery though.

  1. No trackbacks yet.