Bonk Fullscreen

Allows you to put bonk.io into fullscreen mode!

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

// ==UserScript==
// @name         Bonk Fullscreen
// @namespace    http://tampermonkey.net/
// @version      0.9
// @description  Allows you to put bonk.io into fullscreen mode!
// @author       MYTH_doglover
// @match        https://bonk.io/*
// @icon         data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==
// @grant        none
// ==/UserScript==


let expandbutton = document.createElement("button");
expandbutton.innerHTML = "Fullscreen";
document.body.appendChild(expandbutton);
expandbutton.id = 'expandbutton';
expandbutton.style.position = "fixed";
expandbutton.style.top = 370;
expandbutton.style.left = 10;


expandbutton.onclick = function() {

let EXPAND = document.getElementById("bonkiocontainer");


EXPAND.style.height = "100%";
EXPAND.style.width = ((EXPAND.clientHeight) * 1.46);


};


let ad3 = document.getElementById("bonk_d_1");
ad3.remove();

let ad4 = document.getElementById("bonk_d_2");
ad4.remove();

document.getElementById("adboxverticalleftCurse").onclick = function() {
let ad1 = document.getElementById("adboxverticalleftCurse");
ad1.remove();
}