Hide Members Only Filter and whitelist for youtube

Auto-hide "Members only" and "Members first" videos from untrusted channels on YouTube with a toggle to re-show/hide them. Optionally leave layout gap with config flag (handles sidebar safely too). Includes fallback logic for non-existent parent elements. Updated to handle change in YouTube sidebar. Added loop prevention with stable parent check and hiding attempts counter.

< Feedback on Hide Members Only Filter and whitelist for youtube

Review: OK - Skripti toimii, mutta siinä on ongelmia

§
Posted: 29.9.2025

I kept seeing members only videos on the sidebar when i watched a video but with a red outline (not just a blank space). I had to set the "const LEAVE_BLANK_SPACE_WHEN_HIDDEN" to false and now the video won't show up. Front page is working fine.

S MAuthor
§
Posted: 16.10.2025

> red outline

Fixed to remove that but mind if I ask what browser you were using? I added that in while testing but it never really worked/did anything for me so I forgot to remove it. Kinda interested in looking into why it actually appeared.

> now the video won't show up.

The main video? I ran into that bug today for the first time. I think it's Youtube A/B testing or something on their end because it loaded after I disabled the script then after renabling I couldn't get it to show the bug again. Tried adding a loop detection thing in case it happens again but hard to say if it'll work without being able to reproduce the bug.

Post reply

Sign in to post a reply.