您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Removes the alert banner and icon from osu pages
// ==UserScript== // @name Remove alert banner/icon // @namespace osu // @version 1.0.2 // @description Removes the alert banner and icon from osu pages // @author Magnus Cosmos // @match https://osu.ppy.sh/* // @match https://lazer.ppy.sh/* // @require https://greasyfork.org/scripts/473977-osu-web/code/osu-web.js // @run-at document-start // ==/UserScript== const osu = new OsuWeb(function (body) { loaded(".osu-page--notification-banners", body).then((notifBanners) => { notifBanners.innerHTML = ""; }); loaded(".nav2-header", body).then((nav2Header) => { loaded(".avatar--restricted", nav2Header).then((avatarRestricted) => { avatarRestricted.classList.remove("avatar--restricted"); }, { childList: true, subtree: true }); }); });