Skip to content

Instantly share code, notes, and snippets.

@annguyenwasd
Last active April 2, 2020 18:10
Show Gist options
  • Save annguyenwasd/b7eae7d99646ed8e56c142e12e6cdbe0 to your computer and use it in GitHub Desktop.
Save annguyenwasd/b7eae7d99646ed8e56c142e12e6cdbe0 to your computer and use it in GitHub Desktop.
const blacklist = [
'Brianna',
'Lexi',
'Sophia',
'Violet',
'Emily'
];
function like() {
const buttons = document.querySelectorAll("button.button");
const likeBtn = buttons[3];
const dislikeBtn = buttons[1];
const girlsName = document.querySelectorAll(
'main div[class="D(f) Ai(b) Ov(h) Maw(80%)"]'
)[1].innerText;
if (blacklist.some(name => girlsName.includes(name))) {
dislikeBtn.click();
return;
}
likeBtn.click();
}
function autoLike() {
setInterval(like, 1000);
}
autoLike();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment