Open new window when link outside

using js to realize target=“_blank”