Created
November 17, 2018 23:39
-
-
Save palkx/9a1cf92edcfc686e2be03cca02f05e68 to your computer and use it in GitHub Desktop.
Scripts likes all posts currently loaded on page. Be careful with high amount of posts, you can get silent ban from VK
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
var nodes=document.querySelectorAll(".like_wrap:not(.lite)"),i=0,inter=setInterval(function(){if(i==nodes.length){clearInterval(inter)};if(nodes[i].children[0].children[0].children[0].classList.length===3){nodes[i].children[0].children[0].children[0].click();console.log(`Liked post ${i} ${nodes[i]}`)};i++},2000); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment