Reddit Robin Autoclick

autoclick grow

目前为 2016-04-02 提交的版本。查看 最新版本

// ==UserScript==
// @name         Reddit Robin Autoclick
// @namespace    http://idonthaveone/
// @version      1.0
// @description  autoclick grow
// @author       m1k3245
// @match        *.reddit.com/robin/*
// @grant        none
// ==/UserScript==
/* jshint -W097 */

var jq = document.createElement('script');
jq.src = "https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js";
document.getElementsByTagName('head')[0].appendChild(jq);

autoenter = setInterval(
	function(){
		if (document.getElementsbyClassName('.robin-home--thebutton').length > 0) {
			$('.robin-home--thebutton').click()
		}
		else if (!$('.robin-chat--vote-increase.robin--vote-class--increase').hasClass("robin--active")) {
			$('.robin-chat--vote-increase.robin--vote-class--increase').click()
		}
	},
60000);