Last active
October 22, 2021 11:16
-
-
Save phyesix/54f20b13d18f4500da31258fcd7001c1 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('.style_pt-desktop-6__1jDK_').forEach(function(element ,index) { | |
if(element.querySelector('button').classList.contains('styles_upvoted__2FBD8') === false ) { | |
setTimeout(function(){ | |
element.querySelector('.styles_externalLinkIcon__1p0HV').click(); | |
element.querySelector('button').click(); | |
}, 500); | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment