Explore
 Lists  Reviews  Images  Update feed
Categories
MoviesTV ShowsMusicBooksGamesDVDs/Blu-RayPeopleArt & DesignPlacesWeb TV & PodcastsToys & CollectiblesComic Book SeriesBeautyAnimals   View more categories »
Listal logo

Greasemonkey plugin

Chuck Kahn 18 years, 9 months ago at Sep 7 1:03 -
Why not a Greasemonkey plugin or bookmarklet in the form of a "Add to listal collection/wanted list" when visiting amazon?
Myke 18 years, 9 months ago at Sep 7 1:18 -
I like that idea.
vincentm 18 years, 8 months ago at Sep 8 8:47 -
I like it too !
jfred 18 years, 8 months ago at Sep 16 15:40 -
here is a cheesy bookmarklet that works for me in firefox. I don't have IE.

Hasn't really been tested, and has no error checking at all so I guarantee nothing :) good luck

javascript:var rASIN=/ASIN: (\w+)/g;rASIN.test(document.body.innerHTML);var asin=RegExp.$1;var title=document.title;var rType=/Buy this (\w+)/g;rType.test(document.body.innerHTML);var type=(RegExp.$1+'s').toLowerCase();var popup = window.open();popup.document.write('body {background: #afafaf url( [Link removed - login to see] background-repeat: repeat-x;}'+title+' ');popup.document.close();
jfred 18 years, 8 months ago at Sep 16 15:53 -
And since that last post just looked bad... a linked page [Link removed - login to see]
Moderator
Admin
Tom 18 years, 8 months ago at Sep 21 0:59 -
Thanks, I tried it out and it seemed to work but for amazon.com only.

I am going to rework the add asin function and have it as a simple url e.g. /addasin/[asin]

I hope this will make things easier.

Also I will see if I can add a popup page like del.icio.us where you can add tags at the same time.
jfred 18 years, 8 months ago at Sep 23 4:08 -
I'm working on a greasemonkey script if your interested in trying it. I've added it to the same page ( [Link removed - login to see]

It currently only works @ amazon.com (and the user has to be logged in already). It adds two buttons in the upper right 'add to collection' and 'add to wishlist'.

Once you change the add asin - it can easily be updated to work at co.uk (but I'm trying to fix that regardless)

Let me know if you think it should behave differently or if it causes any problems for you.
jfred 18 years, 8 months ago at Sep 23 21:07 -
Added Amazon.co.uk support to the greasemonkey script.
jfred 18 years, 8 months ago at Sep 27 3:33 -
FYI - Updated the bookmarklet and greasemonkey script to work with the site's most recent changes.

Thanks
Moderator
Admin
Tom 18 years, 8 months ago at Sep 27 14:14 -
Thanks :) That was quick!