Bonk Fullscreen

Allows you to put bonk.io into fullscreen mode!

  1. // ==UserScript==
  2. // @name Bonk Fullscreen
  3. // @namespace http://tampermonkey.net/
  4. // @version 0.9
  5. // @description Allows you to put bonk.io into fullscreen mode!
  6. // @author MYTH_doglover
  7. // @match https://bonk.io/*
  8. // @icon data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==
  9. // @grant none
  10. // ==/UserScript==
  11.  
  12.  
  13. let expandbutton = document.createElement("button");
  14. expandbutton.innerHTML = "Fullscreen";
  15. document.body.appendChild(expandbutton);
  16. expandbutton.id = 'expandbutton';
  17. expandbutton.style.position = "fixed";
  18. expandbutton.style.top = 370;
  19. expandbutton.style.left = 10;
  20.  
  21.  
  22. expandbutton.onclick = function() {
  23.  
  24. let EXPAND = document.getElementById("bonkiocontainer");
  25.  
  26.  
  27. EXPAND.style.height = "100%";
  28. EXPAND.style.width = ((EXPAND.clientHeight) * 1.46);
  29.  
  30.  
  31. };
  32.  
  33.  
  34. let ad3 = document.getElementById("bonk_d_1");
  35. ad3.remove();
  36.  
  37. let ad4 = document.getElementById("bonk_d_2");
  38. ad4.remove();
  39.  
  40. document.getElementById("adboxverticalleftCurse").onclick = function() {
  41. let ad1 = document.getElementById("adboxverticalleftCurse");
  42. ad1.remove();
  43. }
  44.