KR exploit pt 2 /invest

reloads page as invest button

目前为 2017-03-14 提交的版本,查看 最新版本

  1. // ==UserScript==
  2. // @name KR exploit pt 2 /invest
  3. // @namespace http://tampermonkey.net/
  4. // @version 1.03
  5. // @description reloads page as invest button
  6. // @author meatman2tasty
  7. // @match http://karnage.io/*
  8. // @grant none
  9. // ==/UserScript==
  10.  
  11. document.addEventListener('keydown', function (evt) {
  12. if (evt.keyCode === 221) {
  13. investInClan();
  14. }
  15. });
  16.  
  17. document.addEventListener('keydown', function (evt) {
  18. if (evt.keyCode === 220) {
  19. investInClan();
  20. }
  21. });
  22.  
  23. var krex = setInterval(document.getElementById("clanInvestInput").value="300", 50);
  24.  
  25. window.onkeydown = function() {
  26. if (event.keyCode === 220) {
  27. location.reload(true);
  28. }
  29. };