15 reviews
The latest version of Better Amazon includes the author's Amazon referral link imbedded in every shortcut. You can find that in the function "udlks" at line 381, seen here:
function udlks() {
var lkl='aetive', lkn='1',lkc='1789';
switch(location.host.slice(location.host.lastIndexOf('.'))) {
case '.ca': lkc='15121'; lkl = 'aetiva'; lkn = '0'; break;
case '.de': lkc='1638'; break;
case '.fr': lkc='1642'; lkl = 'eativa'; break;
case '.it': lkc='3370'; lkl = 'aative'; break;
case '.jp': lkc='247'; lkl = 'aative'; lkn = '2'; break;
case '.uk': lkc='1634'; lkl = 'aetiva'; break;
default: lkn = '0'; break; }
var alks = document.links;
var host="http://" + location.host + "/gp/product/";
var sup="?ie=UTF8&ta"+"g=cr"+lkl+"-2"+lkn+"&linkC"+"ode=xm2&ca"+"mp="+lkc+"&creativeASIN=";
for (var n= alks.length; n--; ) {
link = alks[n];
if (link.host.match(/amazon/) && link.hash==="")
{ var asin = getASIN(link.href);
if (asin) { link.href = host+asin+sup+asin; }}}
return 0;
}
This wouldn't bother me if the author disclosed that he was doing it and/or I didn't use AffiliateFox to generate my own referral links to share with friends. This script freezes the browser constantly as the two compete for link generation.
Don't support sneaky coding! Delete or modify that block to remove the referral portions.
The following block will safely fix everything and produce nice, clean, sharable links. Replace the derps with your own tags if desired, else remove the tag=DERPDERPDERP portion entirely.
function udlks() {
var lkl='DERPDERPDERP', lkn='##DERPS';
switch(location.host.slice(location.host.lastIndexOf('.'))) {
default: lkl = 'DERPDERPDERP'; lkn = '##DERP'; break; }
var alks = document.links;
var host="http://" + location.host + "/gp/product/";
var sup="?ie=UTF8&tag="+lkl+"-"+lkn+"&creativeASIN=";
for (var n= alks.length; n--; ) {
link = alks[n];
if (link.host.match(/amazon/) && link.hash==="")
{ var asin = getASIN(link.href);
if (asin) { link.href = host+asin+sup+asin; }}}
return 0;
}
Support honest, and only honest, referrals!
What can I say? This script really does make Amazon better!
Nice scripts, work very good, I really like it.
Works great for me. This is a bit of an accomplishment because I use Noscript, Ghostery, HeaderControlRevived and several more privacy tweaks that all add up to a pretty finicky browser. Amazon is clean and enjoyable now.
I deducted one star for the addition of the url referer which is not clearly explained. See the discussion about this in the last review by @Smite. The sneaky code is not a huge privacy risk so I'll let it pass. Something like this would normally make me delete the script and never look back, but this one is THAT GOOD. So thank you.
Review written by script fan - see all my reviews (24)
Now I have to click to expand everything. More clicks = less efficient. Make each section expanded by default, collapsible on click.
Working wonderfully on Amazon.co.uk for me.
Thank you!
Works exactly as described. Tested in Opera v11.
The script works great and really add usability and readability to product pages. Works well with amazon.fr pages, too.
It actually works!