Created
November 19, 2014 02:10
-
-
Save sorunis/877debf78d662a95cc89 to your computer and use it in GitHub Desktop.
make all links on current page to open in new tab / window
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
javascript:(function(doc){var alist = doc.getElementsByTagName('a');for(var i = 0; i < alist.length; i ++){alist[i].target = "_blank";}})(document) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment