Advertisement
Guest User

Votecycle v1

a guest
Apr 2nd, 2016
1,229
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.92 KB | None | 0 0
  1. // ==UserScript==
  2. // @name ROBIN AUTOVOTER - BRAIN POWER EDITION
  3. // @namespace http://www.howlongsincekatyperryslastalbum.com
  4. // @version 1.989
  5. // @description Autovotes via text on /r/robin and spams BRAIN POWER
  6. // @author /u/peix (credit to /u/keythkatz for original Robin Autovoter)
  7. // @match https://www.reddit.com/robin*
  8. // @grant none
  9. // ==/UserScript==
  10. /* jshint -W097 */
  11. 'use strict';
  12.  
  13. function sendMessage(message){
  14. $("#robinSendMessage > input[type='text']").val(message);
  15. $("#robinSendMessage > input[type='submit']").click();
  16. }
  17.  
  18. }, 5000);
  19.  
  20. setInterval(function(){
  21. sendMessage("/vote grow");
  22. sendMessage("← Automatically voted grow. →");
  23. }, 10000);
  24.  
  25. setTimeout(function(){
  26. sendMessage("/vote grow");
  27. sendMessage("← Automatically voted grow. →");
  28. setTimeout(function(){
  29. window.location.reload();
  30. }, 300000);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement