When using Tinder on desktop there is need to manually open each new candidates profiles and browse their photos. This script automates it! Just enjoy swaping with just left and right arrows :)
当前为
// ==UserScript==
// @name Tinder for Desktop. Automates profile browing!
// @namespace https://greasyfork.org/en/scripts/36887/versions/new
// @version 1.0
// @description When using Tinder on desktop there is need to manually open each new candidates profiles and browse their photos. This script automates it! Just enjoy swaping with just left and right arrows :)
// @author https://github.com/trzye
// @match tinder.com
// @grant none
// ==/UserScript==
var intervalID = window.setInterval(myCallback, 666);
function myCallback() {
var element = document.getElementsByClassName("recCard__openProfile Trsdu($normal) W(40px) H(40px) Bgc(#000.4) Lh(40px) Bdrs(50%) Cur(p) Ta(c) Fl(end) Scale(1.2):h Bgc(#fff.5):h")[1];
if(element !== undefined)
element.click();
else {
while(element === undefined){
element = document.getElementsByClassName("pageButton D(n)--s CenterAlign W(40px) H(40px) H(28px)--ml W(28px)--ml Trsdu($normal) Trstf(e) Trfo(c) Bdrs(50%) Cur(p) D(f) Jc(c) Bgc($c-pink):h Bgc(#000.12)")[1];
element.click();
}
}
}