Created
September 2, 2016 12:30
-
-
Save rjv/6a1821274e66c6845f112318297935ae 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
document.querySelectorAll('[target=_blank]').forEach(function(target) { | |
target.setAttribute("rel", "noopener noreferrer"); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment