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 interval = window.setInterval(function() { | |
var moreButton = document.querySelector('a[ajaxify*="outgoing/more"]'); | |
if (moreButton) | |
{ | |
moreButton.click(); | |
console.log('loading more...'); | |
} | |
else | |
{ | |
//window.clearInterval(interval); |
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 accountTag = 'own_remove_account_tag'; | |
var css = " \ | |
.own_popup { \ | |
width: 50%; min-width: 676px; height: 80%; padding: 15px; \ | |
background: white; border: 1px solid #eee; border-radius: 15px; \ | |
z-index: 999999; position: fixed; margin: auto; \ | |
top: 50px; left: 0; right: 0; \ | |
-webkit-box-shadow: 0px 3px 38px 0px rgba(50, 50, 50, 0.32); \ | |
-moz-box-shadow: 0px 3px 38px 0px rgba(50, 50, 50, 0.32); \ | |
box-shadow: 0px 3px 38px 0px rgba(50, 50, 50, 0.32); \ |
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
let likes = 0; | |
setInterval(() => { | |
const heart = document.querySelector('svg[aria-label="Like"][width="24"]'); | |
const arrow = document.querySelector('svg[aria-label="Next"]'); | |
if (heart) { | |
heart.parentNode.parentElement.click() | |
likes++; | |
console.log(`You've liked ${likes} post(s)`); | |
} | |
arrow.parentElement.parentElement.click(); |