Tinder for Desktop. Automates profile browing!

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 :)

目前為 2017-12-30 提交的版本,檢視 最新版本

// ==UserScript==
// @name         Tinder for Desktop. Automates profile browing!
// @namespace    http://github.com/trzye
// @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       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();
		}
	}

}