Created
December 5, 2020 16:16
-
-
Save goyuix/8ab4b61b37ff1b187de97517a2c96c37 to your computer and use it in GitHub Desktop.
Img replacement magic
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
document.querySelectorAll("tr.lista2 td.lista:nth-child(2)").forEach(td=>td.parentElement.querySelector("img").src='//'+td.innerHTML.match(/dyncdn\.me.*jpg/)[0]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment