Greasy Fork is available in English.

YouTube Repeated Recommendations Hider

Hide any videos that are recommended more than twice. You can also hide by channel or by partial title. Works on both YouTube's desktop and mobile layouts.

< 腳本YouTube Repeated Recommendations Hider的回應

評論:OK - script works, but has bugs

§
發表於:2021-03-24

Running on an Android 7.1.1 phone, trying to install on the latest Firefox Nightly with Tampermonkey v4.12.6132 and modifying "@match https://m.youtube.com " to "@match https://m.youtube.com/*", the scripts got started to work owing to that I could find 2 of new options in the menu. ("Hide video...")

Nevertheless, the repeated videos still appear even if trying setting the "maxRepetitions" to 1.

hjk789作者
§
發表於:2021-03-24
編輯:2021-03-24

This userscript is intended to work only in https://m.youtube.com, which is the mobile homepage. It indeed does not work for the related videos (https://m.youtube.com/watch?v=...). I may add an option to also filter the related videos.

§
發表於:2021-03-25

When directly using the scripts without any modification, it didn't run within Tampermonkey so that was why I adapted it. I also hide the repeated videos on Youtube homepage only.

hjk789作者
§
發表於:2021-03-26

That's weird, it's working fine here. I just released a new version. Make sure that you test it on https://m.youtube.com/?app=mobile . If it still doesn't work, try to close YouTube's tab and restart Firefox (force close it then open again), and try again. If this doesn't work, try to test it in another script-manager, like Violentmonkey or Greasemonkey.

§
發表於:2021-04-05

After updating to version 1.9, it appeared another bug that both of "Hide videos..." options would produce continuously when clicking the menu, but it merely happened twice in the period of my use.

hjk789作者
§
發表於:2021-04-11

I just released a new version with some new features and bug fixes. Can you update and test if it's still happening?

§
發表於:2021-10-27

Why make this to work only on the mobile website? Seems rather futile.

hjk789作者
§
發表於:2021-10-27

@bloodgull Because I initially made this just for me and I just needed it to work on mobile, but then I decided to share it so other people could use it too. Any day I may release an update that makes it work on the desktop layout too.

hjk789作者
§
發表於:2022-01-09

@bloodgull The userscript now also works on the desktop layout.

§
發表於:2022-01-13

The current v2.1 causes a empty block on left side.

hjk789作者
§
發表於:2022-01-13

@bazrael That shouldn't be happening in the mobile version, thanks for the feedback, I'll release a fix soon.

In the mean time, just remove the recommendationsContainer.style.marginLeft = "100px" in line 172 from the code.

hjk789作者
§
發表於:2022-01-15

@bazrael An update with the fix is now available.

發表回覆

登入以回復