add target="_blank" with pure javascript
<script>
var anchors = document.getElementsByTagName("a");
var host = new RegExp('/' + window.location.hostname + '/');
for (var i=0; i < anchors.length; i++){
if( !(host.test(anchors[i].href)) ){
anchors[i].setAttribute("target", "_blank");
}
}
</script>