Blog2009 ≫ Kent libraries Amazon Firefox Greasemonkey mashup

Can you call it a mash up if you used greasemonkey? Works anyway

I've made a firefox plugin, to look up if a book's available in the library when you're viewing its page on Amazon. Normally I'd be sending people TO Amazon rather than from Amazon, hoping to make a commission, but here's where I give something back. To you, if not to Amazon. Here's how to see what I've done - Use Firefox as your web browser, install Greasemonkey install my script, then go to a book page on amazon. Then if all has gone smoothly you should see something like this appear below the title of the book:


Those (Deal + East Peckham + Lenham + Pembury + Riverview Park + West Malling) all being the local libraries that have a copy of the book, no Folkestone on that example.

Anyone still with me..?

I will tidy it up a bit when I've done the rest of my chores... Don't try it on that greasemonkey book, as nowhere in Kent has it.

Firefox is a web browser, Greasemonkey is a plugin for Firefox that makes it easy for people to write little bits of code that run when you visit a page. Next stop, write a real plugin so people don't need Greasemonkey installed. Also add more features like this Seattle library search that is smart enough to know that if the hardback is not available look for the paperback and so on.

UPDATE: Got rid of my proxy which I wrote because the original library data was not that easy to work with... so the new version goes direct from your browser to the library, without going via my server... Saves me some bandwidth but does mean I can't really log things now or monitor when it's going wrong.

UPDATE UPDATE: lost this one when moving to the static site that time.

💬 RE: Kent libraries Amazon Firefox Greasemonkey mashup - 13073

⬅️ :: ➡️

Paul Clarke's weblog - I live in Hythe near Folkestone. Wed to Clare and dad to two, I'm a full stack web engineer, + I do js / Node, some ruby, python, php etc. I like pubs, parkrun, eating, home-automation + other diy jiggery-pokery, history, genealogy, Television, squirrels, pirates, lego, + TIME TRAVEL.