您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
moves replay stats to the left
- // ==UserScript==
- // @name Reposition replay stats script
- // @namespace http://tampermonkey.net/
- // @version 0.31
- // @description moves replay stats to the left
- // @author Oki
- // @match https://*.jstris.jezevec10.com/*
- // @grant none
- // ==/UserScript==
- /******************************
- Reposition replay stats script
- ******************************/
- (function() {
- 'use strict';
- window.addEventListener('load', function(){
- var website = "jstris.jezevec10.com"
- var url = window.location.href
- var parts = url.split("/")
- if(parts[3]=="replay" && parts[2].endsWith(website) && parts.length>4){
- if(parts[4]!="1v1"){
- var stat1 = document.querySelector("#statTable")
- var vertPos = 400
- var horPos = -200
- stat1.style.position = "absolute"
- stat1.style.left = horPos + "px"
- stat1.style.top = vertPos + "px"
- }
- }
- });
- })();