Skip to content

Instantly share code, notes, and snippets.

@rodrigogs
Last active August 27, 2022 00:20
Show Gist options
  • Save rodrigogs/38510108756d512571c6a72980ad73bc to your computer and use it in GitHub Desktop.
Save rodrigogs/38510108756d512571c6a72980ad73bc to your computer and use it in GitHub Desktop.
Tinder bot for browser
// Paste it in the console of tinder.com
const randomInteger = (min, max) => Math.floor(Math.random() * (max - min + 1)) + min
let likesGiven = 0
const like = () => {
const likeBtn = Array.from(document.querySelectorAll('span')).find(el => el.textContent === 'Like')
if (likeBtn) likeBtn.click()
likesGiven++
document.title = `Liked ${likesGiven} times`
}
setInterval(like, randomInteger(15000, 300000))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment