您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
change background
当前为
- // ==UserScript==
- // @name Background script
- // @namespace http://tampermonkey.net/
- // @version 0.01
- // @description change background
- // @author x
- // @match https://*.jstris.jezevec10.com/*
- // @grant none
- // ==/UserScript==
- (function() {
- window.addEventListener('load', function(){
- //has to be direct image link
- var url = "https://i.imgur.com/3t6lTZy.jpg"
- document.head.getElementsByTagName("style")[0].innerHTML="";
- document.body.style.backgroundImage="url('"+url+"')";
- document.body.style.backgroundSize="100%";
- document.getElementById("app").style.backgroundColor="rgba(0, 0, 0, 0)";
- document.getElementById("app").style.height="1000px";
- })
- })();