Created
November 14, 2018 08:04
-
-
Save measureschool/26a1612b2350712f19da2d9bf0150f3d 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
var links = document.querySelectorAll('a[href*="amazon"]'); | |
links.forEach(function(link){ | |
link.setAttribute("href","https://measureschool.com") | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks for the snippet Julian!