您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Greasy Fork is available in English.
排行榜隐藏已收藏条目
当前为
// ==UserScript== // @name Bangumi排行榜隐藏已收藏条目 // @namespace http://tampermonkey.net/ // @version 1.0 // @description 排行榜隐藏已收藏条目 // @author KunimiSaya // @match https://bgm.tv/*/browser* // @match https://bangumi.tv/*/browser* // @match https://chii.in/*/browser* // @grant none // @license MIT // ==/UserScript== (function() { 'use strict'; // Function to hide collected items function hideCollectedItems() { // Select all items let items = document.querySelectorAll('.item'); items.forEach(function(item) { // Check if the item is collected by looking for the "collectModify" element if (item.querySelector('.collectModify')) { // Hide the item item.style.display = 'none'; } }); } // Run the function after the page has fully loaded window.addEventListener('load', hideCollectedItems); })();