Rewriting Amazon : GreaseMonkey script for the Toronto Public Library
Posted under Uncategorized, on Thursday, May 26th, 2005;I customized Carrick Mundell’s LibraryLookup Greasemonkey script (for the Seattle Public Library) to do the same for the Toronto Public Library.
What’s it do? On any Amazon.com book listing page, the script inserts a hyper-link below the book title which, when clicked, will search for the book in the Toronto Public Library catalog.
I also made a small modification: the Library Search Url and Library Name are now separate variables to make it a little easier to customized for other Library Systems.
Here’s the Script: amazontorpllinky.user.js
Now go browse for The Confusion (The Baroque Cycle, Vol. 2)
Note: I’ve tested this on the Amazon sites for US, Canada, France Germany and Japan with success. However, it does not work for the UK site. Why? Because the UK does not use the same class element names to give it a place to insert the html rewrite link. In fact, it only uses 2 class names on the whole item page. The Style Sheet and classes are there, they just don’t use them. Weird.
This particular madness was kickoff by John Udell who started the LibraryLookup Project in 2002 (with bookmarklet’s). Many Thanks.
- Toronto Public Library Runnymede Branch reopening
- Technorati and del.icio.us Tags added with GreaseMonkey for Blogger.com users
- Margaret Atwood on why we need science fiction….in related news flying pigs circling the Annex
- Automating Geobloggers with Google Maps longitude and latitude
- The Friends of the Merril Science Fiction/Anime Flea Market


October 6th, 2005 at
Ian, thanks for the note on my site. Too bad I didn’t find yours when I googled, would have saved me a bit of time - but it was my first GM script so it was fun to do!
If I get the reverse done, I’ll let you know.