Hi all,

I have some code which forces external urls to open in a new window, it works great but an Addthis I have added to the exclusion list still opens in a new window (which is a fallback if there is no .js etc) (as well as the popup appearing).

Really not sure what to do about this, any suggestions will be welcome. Maybe change the new window method from simply adding the target="_blank"?

Code JavaScript:
$('a[href*="://"]:not(a[href^="http://local.dignity.co.uk"]):not(a[href^="http://www.addthis.com"])').addClass("external").attr("title","This link will open an external website").attr("rel","nofollow").attr("target","_blank");

Many thanks