I need some help to create jquery script :) I have some of link like this on my HTML.
Google
$('a').each(function() { var a = new RegExp('/' + window.location.host + '/'); if (!a.test(this.href)) { $(this).attr("target","_blank"); } });
This was from css-tricks.com, seems to work pretty well.