Created
November 7, 2019 19:31
-
-
Save tschwaerzl/fd8342e1834521c590ad22666a751973 to your computer and use it in GitHub Desktop.
@elkentaro love machine
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
setInterval(function(){ | |
var divs = document.getElementsByTagName('div') | |
var arr = Array.prototype.slice.call( divs) | |
var hearts = arr.filter(x => x.getAttribute('data-testid') == 'like') | |
hearts.forEach(h => h.click()) | |
window.scrollTo(0, document.body.scrollHeight ||document.documentElement.scrollHeight); | |
},1000); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Usage: