document.querySelectorAll('._6a._6b > span > a').forEach((item) => {
item.click();
})
// Clicar no Ver Mais
function tasks() {
return new Promise((resolve, reject) => {
setTimeout(() => {
let x = document.querySelectorAll('a.pam.uiBoxLightblue.uiMorePagerPrimary');
let y = x[x.length - 1]
y.click()
resolve();
}, 2000);
});
}
(async () => {
for (let i = 0; i < 20; i++) {
await tasks();
console.log("clicando:" + i);
}
})();
// Script to auto invite people who liked a page post do like the page
var buttons;
buttons = document.getElementsByClassName('_42ft');
for (var i = 0; i < buttons.length; i++) {
if(buttons[i].getAttribute('ajaxify') != null){
if(buttons[i].getAttribute('ajaxify').indexOf('invite') != -1){
buttons[i].click();
}
}
}
// Colocar no endereço
// Open the facebook window with people yuo want to invite
// Copy the code and place on your browser url input OR open console and place
// To use in the browser url input, copy the code below:
javascript:var buttons; buttons = document.getElementsByClassName('_42ft'); for (var i = 0; i < buttons.length; i++) { if(buttons[i].getAttribute('ajaxify') != null){ if(buttons[i].getAttribute('ajaxify').indexOf('invite') != -1){ buttons[i].click(); } } }