Manually attributing all the external links on your site with "target="_blank"" might be an exceptionally disappointing assignment. You can stay away from this wild undertaking by utilizing the below given script.
$('a').each(function() { var a = new RegExp('/' + [removed].host + '/'); if(!a.test(this.href)) { $(this).click(function(event) { event.preventDefault(); event.stopPropagation(); window.open(this.href, '_blank'); }); } });