您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
LOL.PS英雄页面元素排版修改
// ==UserScript== // @name LOL.PS英雄页面排版 // @namespace http://tampermonkey.net/ // @version 2024-10-24 // @description LOL.PS英雄页面元素排版修改 // @license Copyright © 2025 Leon. All rights reserved. // @author Leon // @match https://lol.ps/champ/* // @icon https://www.google.com/s2/favicons?sz=64&domain=lol.ps // @grant none // ==/UserScript== (function() { 'use strict'; // Your code here... setTimeout(() => { document.querySelector('body > main > div.mx-auto.my-4.w-full.flex.justify-center').style.display = 'none'; // 核心装备挪上来 const el = document.getElementById('content-container'); const elChild = el.firstElementChild || el.firstChild; const element = elChild.removeChild(elChild.children[6]); const firstChild = elChild.children[0]; elChild.insertBefore(element, firstChild.nextSibling); // 召唤师技能 出门装 鞋 挪上来 const el1 = document.getElementById('content-container'); const elChild1 = el1.firstElementChild || el1.firstChild; const element1 = elChild1.removeChild(elChild1.children[5]); const firstChild1 = elChild1.children[0]; elChild1.insertBefore(element1, firstChild1.nextSibling); }, 500); })();