my friend has an amazon associate account and when ever I buy anything on amazon I buy it through his link but the problem is that when there amazon link in a website that I like or amazon send deals on email when I click the link it is not opened through his account but direct.
How do I redirect the link automatically to my friends link
say for example:
I want it redirected automatically to
Currently I am using:
var loc = location.href;
which redirects automatically whenever I type amazon.com in the address bar.
Is this possible? How do I go about doing this?
Awaiting your response!