您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
2020/8/11
当前为
// ==UserScript== // @name button for me Jstris short // @namespace http://tampermonkey.net/ // @version 1.27 // @description 2020/8/11 // @author ore100 // @match https://*.jstris.jezevec10.com/* // @grant none // ==/UserScript== (function() { window.addEventListener('load', function(){ loadSkin("https://i.imgur.com/8BwH4ih.png",18); //pure bg //document.getElementById("app").style["background-color"]="#222"; //Center 10-wide //myCanvas.style.marginLeft = "20px" //bgLayer.style.marginLeft = "20px" //Center Ready GO //var customStyle2=document.createElement("style"); //customStyle2.innerHTML='.gCapt {margin-left: 20px}'; //document.body.appendChild(customStyle2); //buttons position x,y,width,length keys = ` ⤓ "0" 97" 1" 1.2 ↷ "-96" 10" 1" 1.2 ↶ "-96" 10" 1" 1.2 → "0" 10" 1" 1.2 ← "0" 10" 1" 1.2 ↓ "190"-106" 1" 1 田 "0"-122" 1" 1 ⇄"-285" 0" 1" 1 ⟳"-190"-106" 1" 1 ` lines = keys.split("\n") ids = ["", "tc-hd", "tc-c", "tc-cc", "tc-r", "tc-l", "tc-d", "tc-vs", "tc-h", "tc-dr"] for (var i = 0; i < lines.length; i++) { if(lines[i]){ pos = lines[i].split("\"") style = "scale(" + pos[3] + "," + pos[4] + ") translate(" + pos[1] + "px," + pos[2] + "px)" document.getElementById(ids[i]).style.transform=style } } }); })();
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址