User:OwenBlacker/vector.js

function externISBN { for (var i = 0; i < document.links.length; i++) {               if (document.links[i].href.match(/isbn=(.{10})$/)) { document.links[i].href = "https://smile.amazon.co.uk/o/ASIN/" + RegExp.$1; // document.links[i].insertAdjacentHTML("AfterEnd",          //  '[A]'); }   } }

$(externISBN);