Amazon favelet
Home
Just made this javascript:d=document;l=location;cTest=/ASIN/(%5B0-9A-Z%5D+)/i;tTest=/(Amazon.co.uk)(.*)/i;if(cTest.test(l.href)==true){var%20a=RegExp.$1;}if(tTest.test(d.title)==true){var%20t=RegExp.$2;}if(a&&t){l.href=('http://www.clarkeology.com/cgi-bin/board.cgi?table=amazon&mode=add&amazonCode='+a+'&amazonDescription='+t)}amazon favelet for (and javascript:d=document;l=location;cTest=/ASIN/(%5B0-9A-Z%5D+)/i;tTest=/(Amazon.co.uk)(.*)/i;if(cTest.test(l.href)==true){var%20a=RegExp.$1;}if(tTest.test(d.title)==true){var%20t=RegExp.$2;}if(a&&t){l.href=('http://www.clarkeology.com/cgi-bin/board.cgi?table=amazon&mode=add&amazonCode='+a+'&amazonDescription='+t)} one for popex, if you're viewing an amazon product and you click this, it'll grab the code and the title and attempt to load it into my database of Amazon recommendations. Again a bit ropey, still needs more work, normal favelet rules apply...
pauly :: 2005 :: Comment / reply
Paul Clarke's blog - I live and work near Folkestone. Married to Clare and father to Harry, I am a web dev, and I like javascript, PHP, Folkestone Gerald, pubs, restaurants, history, genealogy, TV, music, popbitch, squirrels, pirates ☠, time travel, stained glass...
Also from the same week
Some more posts from the same week as .
Allowed? [Saturday 8 January 2005]
A mighty wind [Saturday 8 January 2005]
well u live [Monday 10 January 2005]
Bet that wouldn't have happened in Glasgow... [Monday 10 January 2005]
Ebay Tsunami appeal [Monday 10 January 2005]
Javascript vector graphics library [Monday 10 January 2005]
Security camera google hack [Monday 10 January 2005]
Here's a handy index of open cameras too [Tuesday 11 January 2005]
Monkey Island for mobile phones? [Tuesday 11 January 2005]
Amazon favelet [Tuesday 11 January 2005]
They've fixed the Darkness picture [Tuesday 11 January 2005]
CSS Design: Going to Print: A List Apart [Tuesday 11 January 2005]
A bit of 'ush please [Wednesday 12 January 2005]
August 12th [Wednesday 12 January 2005]
Bloc Party [Wednesday 12 January 2005]
Weak roundup [Thursday 13 January 2005]
They can't swim, they attract enemy radar... [Friday 14 January 2005]
Bill based scam [Friday 14 January 2005]
Progress [Friday 7 January 2005]
well i hope [Friday 7 January 2005]
Wired 13.02: The Lock Busters [Wednesday 9 February 2005]
Apple & Celebrities [Tuesday 15 February 2005]
RE: Bloc Party [Saturday 16 April 2005]



