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 提交的版本,檢視 最新版本

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

You will need to install an extension such as Tampermonkey to install this script.

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

// ==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();
		}
	}

}