您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
autoclick grow
- // ==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 ($('.robin-home--thebutton').length > 0) {
- $('#joinRobinContainer').click()
- setTimeout(
- function(){
- $('.robin-home--thebutton').click()
- setTimeout(
- function(){
- location.reload();
- },
- 2000)
- },
- 2000);
- console.log('join')
- }
- else if (!$('.robin-chat--vote-increase.robin--vote-class--increase').hasClass("robin--active")) {
- $('.robin-chat--vote-increase.robin--vote-class--increase').click()
- console.log('grow')
- }
- else{
- console.log('null')
- }
- },
- 60000);