Jstris Toggle Clean Sprint

Toggle distracting elements on and off

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

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

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

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

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

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

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

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

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

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

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

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

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

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

作者
Garbaz
今日安裝
0
安裝總數
212
評價
1 0 0
版本
2.0
建立日期
2020-08-30
更新日期
2021-03-05
尺寸
4.6 KB
授權條款
未知
腳本執行於

Description:

A simple script that allows you to toggle distracting elements like the menu bar, player boards, etc. off and on with a single button press.

Usage:

The toggle button is, independent of your layout, the one to the left of [1] (On the US layout it's [~], on the German layout it's [^]).

While in "no distraction" mode, the stats (Time, Finesse, PPS, etc) are hidden while playing and are shown between games.

Alternatively you can press the [Tab] key to show the stats.

Configuration:

At the top of the script there are a few const variables which change the behavior of the script.

NEW FEATURE: I added an option to have a background image! Simply change the BACKGROUND_IMAGE_URL variable at the top of the script to some image-URL and that image will be displayed as the background while while the extension is toggled on. Unfortuately the game frame itself has a hard-coded black background, which can't be easily changed from Javascript, so I've opted to make the whole game board black with a bit of a fuzzy edge. To disable this feature, simply set the variable BACKGROUND_IMAGE_URL back to an empty string, so BACKGROUND_IMAGE_URL = '';.

Customization:

The code is for the most part pretty straight forward, so I'm sure if you want to customize something, you will find it not too difficult to do so.