<?xml version="1.0" encoding="UTF-8"?>
<post>
  <body>This script doesn't really work anymore because the library updated their search system &amp; amazon completely updated and modified its style.

I made a bookmarklet that opens in a new tab the library page for that book that you are looking at in Amazon.

Techie babble: I have almost no javascript experience, but I made by tweaking around with this script's code &amp; using the library lookup bookmarklet generator (not as easy as it sounds, because in order to generate you have to know what system your library uses).

I wanted to update this greasemonkey script so that it work, but Amazon's website updated from the time this was written and I don't have enough javascript experience to rewrite it and make it work at this point.

I hope this bookmarklet helps someone

&amp; I am going to try to learn how to script so that I can get this greasemonkey script to work or how to transfer this bookmarklet into a greasemonkey script. (Any help would be well appreciated)

Here is the bookmarklet:

javascript:var%20re=/([\/-]|is[bs]n=)(\d{7,9}[\dX])/i;if(re.test(location.href)==true){var%20isbn=RegExp.$2;void(win=window.open('http://catalog1.lapl.org/cgi-bin/cw_cgi?5005+CONFIGcw.ini+useDatabase_965_I_'+ isbn,'LibraryLookup'))}

[Keep in mind I am an amateur so if you can improve it, DO!]</body>
  <body-html>&lt;p&gt;This script doesn't really work anymore because the library updated their search system &amp;amp; amazon completely updated and modified its style.&lt;/p&gt;

&lt;p&gt;I made a bookmarklet that opens in a new tab the library page for that book that you are looking at in Amazon.&lt;/p&gt;

&lt;p&gt;Techie babble: I have almost no javascript experience, but I made by tweaking around with this script's code &amp;amp; using the library lookup bookmarklet generator (not as easy as it sounds, because in order to generate you have to know what system your library uses).&lt;/p&gt;

&lt;p&gt;I wanted to update this greasemonkey script so that it work, but Amazon's website updated from the time this was written and I don't have enough javascript experience to rewrite it and make it work at this point.&lt;/p&gt;

&lt;p&gt;I hope this bookmarklet helps someone&lt;/p&gt;

&lt;p&gt;&amp;amp; I am going to try to learn how to script so that I can get this greasemonkey script to work or how to transfer this bookmarklet into a greasemonkey script. (Any help would be well appreciated)&lt;/p&gt;

&lt;p&gt;Here is the bookmarklet:&lt;/p&gt;

&lt;p&gt;javascript:var%20re=/([\/-]|is[bs]n=)(\d{7,9}[\dX])/i;if(re.test(location.href)==true){var%20isbn=RegExp.$2;void(win=window.open('http://catalog1.lapl.org/cgi-bin/cw_cgi?5005+CONFIGcw.ini+useDatabase_965_I_'+ isbn,'LibraryLookup'))}&lt;/p&gt;

&lt;p&gt;[Keep in mind I am an amateur so if you can improve it, DO!]&lt;/p&gt;</body-html>
  <created-at type="datetime">2007-05-02T04:59:15Z</created-at>
  <forumable-id type="integer">2353</forumable-id>
  <forumable-type>Script</forumable-type>
  <id type="integer">65197</id>
  <topic-id type="integer">15585</topic-id>
  <updated-at type="datetime">2008-11-17T00:11:24Z</updated-at>
  <user-agent nil="true"></user-agent>
  <user-id type="integer">26825</user-id>
</post>
