Last active
March 20, 2024 13:06
-
-
Save phyesix/ed202f5dfded220f8f9bfed62c27bf61 to your computer and use it in GitHub Desktop.
Product Hunt Main Page Clicker
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
//PH | |
document.querySelectorAll('button[class*=styles_feed]:not([class*=styles_upvoted])').forEach(function(e ,i) { | |
setTimeout(() => { | |
e.parentElement.querySelector('a[rel="noopener"]').click(); | |
e.click(); | |
}, i * 1000 * (Math.floor(Math.random() * 6) + 1)); | |
}); | |
//PH |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment