I need some help to create jquery script :) I have some of link like this on my HTML.
Google
Try:
$('a[href^="http://"]') .not('a[href*='+ location.hostname +']') .attr('target','_blank');