您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
First theme I made
- // ==UserScript==
- // @name Original Theme
- // @namespace http://tampermonkey.net/
- // @version 0.2
- // @description First theme I made
- // @author Eddie
- // @match https://*.jstris.jezevec10.com/*
- // @grant none
- // @license MIT
- // ==/UserScript==
- (function() {
- 'use strict';
- window.addEventListener('load', function(){
- //Jstris Custom Background Image
- document.head.getElementsByTagName("style")[0].innerHTML="";
- document.body.style.backgroundImage="url('https://i.imgur.com/3t6lTZy.jpg')";
- document.body.style.backgroundSize="100%";
- document.getElementById("app").style.backgroundColor="rgba(0, 0, 0, 0)";
- document.getElementById("app").style.height="1000px";
- //Jstris Block Skin Change
- loadSkin("https://i.imgur.com/GPvbGtc.png",32);
- loadGhostSkin("https://i.imgur.com/OvH7LA4.png",36);
- });
- })();