No More Dramas - TJUPT/PTer

torrent page filter

< 脚本 No More Dramas - TJUPT/PTer 的反馈

提问 / 留言

§
发布于:2025-11-17

It does not work for PTer normal torrents bacause they don't have class name "rowfollow" as TJUPT does. They are simply a <td>. So it cannot hide those non-sticky-top GodDramas torrents in PTer.

A simple solution is to grab all the torrents (without targetClasses filter), in function hideFilteredTRs():

- document.querySelectorAll(`tr.${cls}`).forEach(tr => {
+ document.getElementsByClassName("torrents")[0].querySelectorAll("tr").forEach(tr => {
colder作者
§
发布于:2025-11-22

Thanks. It has been fixed

发布留言

登录以发布留言。