Greasy Fork 还支持 简体中文。

Bonk max menu sizes

Automatically makes menus max size

目前為 2022-03-17 提交的版本,檢視 最新版本

  1. // ==UserScript==
  2. // @name Bonk max menu sizes
  3. // @version 1.0
  4. // @author Salama
  5. // @description Automatically makes menus max size
  6. // @match https://bonk.io/gameframe-release.html
  7. // @run-at document-end
  8. // @grant none
  9. // @supportURL https://discord.gg/Dj6usq7ww3
  10. // @namespace https://greasyfork.org/users/824888
  11. // ==/UserScript==
  12.  
  13. var style = document.createElement('style');
  14. style.type = 'text/css';
  15. style.innerHTML = '.maxSize { width: 100vw !important; height: 100vh !important; }';
  16. document.getElementsByTagName('head')[0].appendChild(style);
  17.  
  18. document.getElementById('newbonklobby').className = 'maxSize';
  19. document.getElementById('maploadwindow').className = 'maxSize';
  20.  
  21. console.log("Room menus set to max size");