NOTICE: By continued use of this site you understand and agree to the binding Terms of Service and Privacy Policy.
// ==UserScript== // @name RobinAutoGrow // @namespace http://tampermonkey.net/ // @version 1 // @description Automatically grow // @author You // @match https://www.reddit.com/robin/ // @grant none // @require http://code.jquery.com/jquery-latest.js // ==/UserScript== (function() { 'use strict'; console.log("script is initally running"); $( ".robin-chat--vote-increase" ).trigger( "click" ); setInterval(function(){ //every ten seconds run this code if (!$('.robin-chat--vote-increase').hasClass('robin--active')) { //doesn't have the active class, is not active so therefore simulate a click console.log("is not active, clicking"); $( ".robin-chat--vote-increase" ).trigger( "click" ); }else { console.log("is active, skipping click"); } }, 300000); })();