Greasy Fork镜像 还支持 简体中文。

Reddit Advanced Content Filter

Automatically hides posts in your Reddit feed based on keywords or subreddits you specify. Supports whitelist entries that override filtering. Improved phrase matching with blocked titles displayed and linked in the settings dialog, with better title extraction, smart truncation, and requestIdleCallback fallback for all userscript engines.

< 腳本Reddit Advanced Content Filter的回應

評論:正評 - 腳本一切正常

§
發表於:2025-07-28

Does this script have a problem with large blocklist lines?

I have about 600+ lines in my blocklist, and it started to be lazy(?) in its filtering, that some post pass through the filtering system. Just now, two posts about Trump pass through the filter. My best guess is that i put NBA on my whitelist and somehow a post about Trump golfing pass through the filter? I dunno man...

§
發表於:2025-07-30

Okay, found out that r/sports has "NBA" on its description. That's why any post from that subreddit get through the filter for me. Nothing to do with large blocklist, i guess?

§
發表於:2025-08-03

Hi! Great troubleshooting—your instinct about the whitelist was spot on.

Here's what's happening: The script is designed so the whitelist always overrides the blocklist. If a whitelist entry matches any part of a post (title, content, or even a subreddit description), that post will not be blocked, regardless of blocklist entries.

Right now, it’s a tradeoff—if “NBA” is in your whitelist, any post mentioning it (even if it’s about Trump) will get through. If your priority is to always block Trump-related content, you’ll need to remove broad entries like “NBA” from the whitelist.

I’ll give some thought to adjusting the logic so that the blocklist can sometimes take priority. That might be useful in certain circumstances like this one 🤔

發表回覆

登入以回覆

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址