Technical Lead

Thomas Miller ,
London, Greater London

Overview

Job Description

Technical Lead var links = document.querySelectorAll(".targetLink"), i, j, aTags, string; for(i=0; i < links.length; i++){ aTags = links[i].querySelectorAll("a"); for(j=0; j < aTags.length; j++){ string = aTags[j].href; if(string.indexOf("javascript") === -1) { aTags[j].target = "_blank"; } } }