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.
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.