您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Removes AD and unnecessary sections
// ==UserScript== // @name u.gg AD remove // @namespace https://greasyfork.org/users/928242 // @version 1.0 // @description Removes AD and unnecessary sections // @author Kamikaze (https://github.com/Kamiikaze) // @supportURL https://github.com/Kamiikaze/Tampermonkey/issues // @match https://u.gg/lol/champions/* // @icon https://www.google.com/s2/favicons?sz=64&domain=u.gg // @grant none // @license MIT // ==/UserScript== function GM_addStyle(css) { var head, style; head = document.getElementsByTagName('head')[0]; if (!head) { return; } style = document.createElement('style'); style.type = 'text/css'; style.innerHTML = css.replace(/;/g, ' !important;'); head.appendChild(style); } GM_addStyle(` .live-game-ad, .champion-profile-ad, .toughest-matchups, .og-feature, .stats-skills { display: none; } `);