Bonk Fullscreen

Allows you to put bonk.io into fullscreen mode!

スクリプトをインストールするには、Tampermonkey, GreasemonkeyViolentmonkey のような拡張機能のインストールが必要です。

You will need to install an extension such as Tampermonkey to install this script.

スクリプトをインストールするには、TampermonkeyViolentmonkey のような拡張機能のインストールが必要です。

スクリプトをインストールするには、TampermonkeyUserscripts のような拡張機能のインストールが必要です。

このスクリプトをインストールするには、Tampermonkeyなどの拡張機能をインストールする必要があります。

このスクリプトをインストールするには、ユーザースクリプト管理ツールの拡張機能をインストールする必要があります。

(ユーザースクリプト管理ツールは設定済みなのでインストール!)

このスタイルをインストールするには、Stylusなどの拡張機能をインストールする必要があります。

このスタイルをインストールするには、Stylus などの拡張機能をインストールする必要があります。

このスタイルをインストールするには、Stylus tなどの拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

(ユーザースタイル管理ツールは設定済みなのでインストール!)

このスクリプトの質問や評価の投稿はこちら通報はこちらへお寄せください
// ==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();
}