您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Hide torrent with 0 seeders
// ==UserScript== // @name another Nyaa hide 0 seeders // @namespace // @version 1.0 // @description Hide torrent with 0 seeders // @include https://nyaa.si/* // @include https://sukebei.nyaa.si/* // @license MIT // @grant none // ==/UserScript== (function() { 'use strict'; // 获取所有的 tr 元素 const rows = document.querySelectorAll('tr.default'); rows.forEach(row => { // 获取倒数第三个 td 的值 const thirdLastTd = row.querySelectorAll('td')[row.querySelectorAll('td').length - 3]; // 检查该值是否为 0 if (thirdLastTd && thirdLastTd.textContent.trim() === '0') { // 设置该 tr 的 display 为 none row.style.display = 'none'; } }); })();
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址