may88seiji
7/22/2017 - 8:07 AM

addTarget_blank

addTarget_blank

$('a[href^=http]').not('[href*="'+location.hostname+'"]').attr('target', '_blank');
$('a[href^=http]').attr('target', '_blank');