var a=document.getElementsByTagName('head')[0] var b=a.innerHTML.match(/<script [^>]*src=\"[^\s\"]+pci.js+\"[^\" >]*?[^>]*>[^<]*<\/script>/ig) if(b)script.parentNode.removeChild(script);