function externalLinks() {
for(var c = document.getElementsByTagName("a"), a = 0;a < c.length;a++)
{ var b = c[a]; b.getAttribute("href") && b.hostname !== location.hostname && (b.target = "_blank") } } ; externalLinks();
Code (markup):
from JavaScript https://ift.tt/32esX0v
via IFTTT
0 Comments