您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Removes Tears of Themis, Honkai Impact 3rd, and Honkai: Nexus Anima from HoYoLAB search and home menu.
// ==UserScript== // @name Only the Big Three // @namespace http://tampermonkey.net/ // @version 0.4 // @description Removes Tears of Themis, Honkai Impact 3rd, and Honkai: Nexus Anima from HoYoLAB search and home menu. // @match https://www.hoyolab.com/* // @grant none // @icon https://webstatic.hoyoverse.com/upload/op-public/2021/04/12/bbeb16029152ef690abb1d41dd1a8f78_7756606814264622244.png // ==/UserScript== (function() { 'use strict'; const blockedGames = [ "Tears of Themis", "TearsofThemis", "Honkai Impact 3rd", "HonkaiImpact3rd", "Honkai: Nexus Anima", "HonkaiNexusAnima" ]; function hideBlockedGames() { document.querySelectorAll("li.game-item").forEach(item => { if (blockedGames.some(game => item.textContent.includes(game))) { item.style.display = "none"; } }); document.querySelectorAll("li.mhy-selectmenu__item").forEach(item => { const label = item.querySelector(".mhy-selectmenu__label")?.textContent.trim(); if (blockedGames.includes(label)) { item.style.display = "none"; } }); } let tries = 0; const interval = setInterval(() => { hideBlockedGames(); tries++; if (tries > 20) clearInterval(interval); }, 200); const observer = new MutationObserver(hideBlockedGames); observer.observe(document.body, { childList: true, subtree: true }); })();
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址