Created
April 4, 2019 07:04
-
-
Save sysnucleussupport/f450640ed011344db595256f51967ff6 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 elements = document.getElementsByClassName('media__thumbnail'); | |
for(var i=0; i < elements.length; i++) | |
{ | |
var element = elements[i]; | |
var url = element.children[0].getAttribute("src"); | |
url = url.replace('_145', '_1000'); | |
element.setAttribute("src", url); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment