您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
For Transformania Time multplayer edition. Makes enchantment percentages on the enchantment map easier to read. Starts the enchantment map view closer to the center of town. Starts the standard map centered on the player's location.
当前为
// ==UserScript== // @name Transformania Time Map Tweak // @namespace http://steamcommunity.com/id/siggo/ // @version 1.0.1 // @description For Transformania Time multplayer edition. Makes enchantment percentages on the enchantment map easier to read. Starts the enchantment map view closer to the center of town. Starts the standard map centered on the player's location. // @author Prios // @match https://www.transformaniatime.com/pvp/worldmap?showEnchant=* // @grant none // @license MIT // ==/UserScript== (function() { 'use strict'; var thisURL = window.location.href; var enchantmentMapOffset = 0; if ( thisURL === 'https://www.transformaniatime.com/pvp/worldmap?showEnchant=true' ) { $( '.mapcelltext' ) .css({'background-color': 'lightgray', 'background-blend-mode': 'screen', 'font-weight': 'bold'}) ; $( '.mapcell' ) [enchantmentMapOffset].scrollIntoView({behavior:'smooth', block:'center', inline:'center'}) ; } else if ( thisURL === 'https://www.transformaniatime.com/pvp/worldmap?showEnchant=false' ) { $( '[style*="lightpink"]' ) [0].scrollIntoView({behavior:'smooth', block:'center', inline:'center'}) ; } })();