Created
February 27, 2019 18:25
-
-
Save argentinaluiz/9e1cd47b1fefecedf46e9db85bd1a09b to your computer and use it in GitHub Desktop.
This file contains hidden or 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
var anchors = document.querySelectorAll('div.classe>a'); | |
for (var key in anchors){ | |
anchors[key].setAttribute('target', '_blank'); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment