πŸ˜› Useless Code for Tinder πŸ˜›

0xkoji - Jul 24 '19 - - Dev Community

As some of you know, sometimes really need to write code for completely useless things πŸ˜›

1. Open Google Chrome and Developer Tools

2. Click Toggle device toolbar button (you can select any devices you want to use)

3. Go to https://tinder.com/app/recs

4. Copy and paste one of the followings

For not like button

setInterval(
     () => {
        const ele = document.getElementsByClassName("recsGamepad__button");
        ele[1].click();
    }, 2000)
Enter fullscreen mode Exit fullscreen mode

For like button

setInterval(
     () => {
        const ele = document.getElementsByClassName("recsGamepad__button");
        ele[3].click();
    }, 2000)
Enter fullscreen mode Exit fullscreen mode

random version

setInterval(
     () => {
        const ele = document.getElementsByClassName("recsGamepad__button");
        const rand = Math.random();
        if(rand >= 0.5) {
          ele[1].click();
        } else {
          ele[3].click();
        }
    }, 2000)
Enter fullscreen mode Exit fullscreen mode
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .