Dne 15.8.2009 05:19, Giant napsal(a):
I am attempting to write a script on my own, but it is not coming out so well. My idea is a simple one (I think). I work for a publications company and often use amazon to check publication information on a given book. Normally, when you search for an ISBN number it returns a single listing (maybe more) with limited information about the book. In order to find out who publishes the book I need to click on the title and scroll down to the "Product Details" section. All I would like to do is copy the publisher name to the results page. How would one go about accomplishing this?
a) http://diveintogreasemonkey.org/advanced/gm_xmlhttprequest.htmlb) while Dive Into Greasemonkey is a great introduction to Greasemonkey scripting c) on the same page Mark links to LibraryLookup which seems to do something different as you want ... maybe you just need to fix it to suit your purpose. d) generally I think you need to generate Amazon URL, fetch the webpage with GM_XMLHTTPRequest and parse it.
Good luck Matěj
smime.p7s
Description: S/MIME Cryptographic Signature
