您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Fixes U-M previews in groups
// ==UserScript== // @name Group Map Preview // @namespace http://tampermonkey.net/ // @version 0.1 // @description Fixes U-M previews in groups // @author Electro // @match https://tagpro.koalabeast.com/groups/* // @grant none // ==/UserScript== (function() { 'use strict'; // Set this to "true" if its still not working for you. const USE_PROXY = false; setInterval(() => { if(document.querySelector("[name='map']").innerText.includes("MapId:")){ let mapID = document.querySelector("[name='map']").innerText.replace("MapId:", "").trim(); let link = `http://unfortunate-maps.jukejuice.com/static/thumbs/${mapID}.png`; if(USE_PROXY) link = `https://parretlabs.xyz:8006/proxy?link=${link}&isBlob=1&type=image/png`; document.querySelector(".responsive.map-preview").setAttribute("src", link); } }, 1000); // Your code here... })();