Created
October 2, 2018 12:19
-
-
Save McKabue/6a1d2cef8307eca2ae65dccb73ee23c4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<a href="https://jsfiddle.net/">Opening here</a> | |
<script> | |
//https://jsfiddle.net/mckabue/458ysfwe/6 | |
document.querySelector("a").addEventListener("click", function(e){ | |
e.target.target = "_blank"; | |
return true; | |
}); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment