diff --git a/chrome/content/geturl.js b/chrome/content/geturl.js index ee9835f..1e94ecb 100644 --- a/chrome/content/geturl.js +++ b/chrome/content/geturl.js @@ -95,7 +95,8 @@ for (var config in configurations) { if (configurations.hasOwnProperty(config)) { if (url.match(configurations[config].rx)) { - if (url.indexOf("tag=") === -1) { + //gracefully acknowledge existing affiliate tags + if (url.indexOf(config.params[0].param) === -1) { win = aWebProgress.DOMWindow; win.document.location.replace(url + (url.indexOf("?") >= 0 ? "&" : "?") + createTag(config.params)); break;