Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- let likesGiven = 0;
- setInterval(() => {
- let heart = document.getElementsByClassName('glyphsSpriteHeart__outline__24__grey_9 u-__7'),
- arrow = document.querySelector('.coreSpriteRightPaginationArrow');
- if (heart[1]) {
- heart = heart[1].parentElement;
- likesGiven++, heart.click();
- }
- arrow.click();
- console.log(`You've liked ${likesGiven} post(s)!`);
- }, 2000);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement