Case Clicker

Simple cheat for Case Clicker, automatically makes money and buys cases. Automatically closes the annoying box after getting a weapon!

  1. // ==UserScript==
  2. // @name Case Clicker
  3. // @namespace https://kingofkfcjamal.github.io/CaseClicker/
  4. // @version 0.51
  5. // @description Simple cheat for Case Clicker, automatically makes money and buys cases. Automatically closes the annoying box after getting a weapon!
  6. // @author PixxlMan
  7. // @match https://kingofkfcjamal.github.io/CaseClicker/
  8. // @grant none
  9. // ==/UserScript==
  10.  
  11. setInterval(function () {
  12. document.getElementById('acceptButton').click();
  13. removeElementsByClass('modalWindow');
  14. //document.getElementsByClassName('inventoryItemContainer')[0].children[0].click();
  15. document.getElementById('case').click();
  16. },1);
  17.  
  18. function removeElementsByClass(className){
  19. var elements = document.getElementsByClassName(className);
  20. while(elements.length > 0){
  21. elements[0].parentNode.removeChild(elements[0]);
  22. }
  23. }
  24.  
  25. //Update: Removed unessesary gunk