Advertise here with Carbon Ads

This site is made possible by member support. ๐Ÿ’ž

Big thanks to Arcustech for hosting the site and offering amazing tech support.

When you buy through links on kottke.org, I may earn an affiliate commission. Thanks for supporting the site!

kottke.org. home of fine hypertext products since 1998.

๐Ÿ”  ๐Ÿ’€  ๐Ÿ“ธ  ๐Ÿ˜ญ  ๐Ÿ•ณ๏ธ  ๐Ÿค   ๐ŸŽฌ  ๐Ÿฅ”

Amazon Recommends hack

About a week and a half ago, I profiled Amazon Recommends, a new service from Amazon that allows members of their Associates Program to easily place product recommendations on their sites using JavaScript. I also lamented that they had hard coded the layout so that you pretty much have to go with their design on your page.

Interested JavaScript coder Willem Broekema found a way to change the layout of your Amazon recommendations. Basically, you put Amazon’s JavaScript code in a hidden div, parse it with JavaScript, and then spit it out into another div with the modified look and feel.