Auto comment Medals and Articles

try to take over the world!

  1. // ==UserScript==
  2. // @name Auto comment Medals and Articles
  3. // @namespace http://tampermonkey.net/
  4. // @version 0.2.1
  5. // @description try to take over the world!
  6. // @author You
  7. // @match https://www.erepublik.com/*
  8. // @include https://www.erepublik.com/*
  9. // @grant none
  10. // ==/UserScript==
  11.  
  12.  
  13. (function() {
  14.  
  15. // vote all medal posts
  16. $j('h6:contains("medal")').siblings('.post_actions').children("a:contains('Vote')").click()
  17.  
  18. //$j('h6:contains("medal")').children(".reactionBtn").click();
  19. $j(".reactionBtn").click();
  20.  
  21. // vote all comments in articles
  22. // $j('li:contains("Vote")').click();
  23.  
  24. // vote an opened article
  25. $j("div.vote_boxer a").click();
  26.  
  27. })();