From 4b19ae5faef8dc0e6804197e0893f51eaf2b58b4 Mon Sep 17 00:00:00 2001 From: Arsalan Date: Wed, 20 Mar 2019 12:37:28 -0400 Subject: [PATCH] Update rightswype.js Changed element selector and time between swipes --- rightswype.js | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/rightswype.js b/rightswype.js index bf19567..61380e2 100644 --- a/rightswype.js +++ b/rightswype.js @@ -1,6 +1,7 @@ -// Basically, what it does is, selects the right swipe button class name, and keeps clicking +// Step 1: Copy and paste this line into the Console and hit Enter +// tldr; using jquery, we're selecting the like button +var swype = $("[aria-label='Like']"); -func = setInterval(function() { - var swype = document.getElementsByClassName("recsGamepad__button--like") - swype[0].click() -}, 1000) +// Step 2: Copy and paste this line into the Console and hit Enter +// tldr; using click(), we click the button--750 is the time (in ms) between swipes -- feel free to adjust this +func = setInterval(function() { swype.click() }, 750)