DandelionSprout / adfilt

The place where I, DandelionSprout, store my web filter lists for countless topics, including my Nordic adblock list. As simple as that, really.
Other
1.51k stars 149 forks source link

Stop autoplay on the channel home pages #69

Closed haze2422 closed 4 years ago

haze2422 commented 4 years ago

Is it possible to stop autoplay on the channel home pages?

Windows 7, Vivaldi 3.1.1929.3 ( Chrome/83.0.4103.75 ), Nano Adblocker 1.0.0.148, Nano Defender Pro 15.0.0.199 2020-05-30_190241 2020-05-30_192300 2020-05-30_193626

DandelionSprout commented 4 years ago

I am sadly not aware of any methods to accomplish such a thing, and apparently a fair few people have tried to do so before.

I'll ask some pals of mine if they know of any ##+js-related ways to do so, but I'm not 100% sure if it's even technically possible, since the video seems to auto-begin within milliseconds of being loaded and may possibly not work the same way as what regular YouTube videos or embeds do.

krystian3w commented 4 years ago

Try found code on Greasy Fork or OpenUserJS? Maybe help convert into available Nano/uBO snippets.

https://chrome.google.com/webstore/detail/disable-html5-autoplay-re/cafckninonjkogajnihihlnnimmkndgf - but may no support URL:

https://www.youtube.com/channel/* https://www.youtube.com/user/*


Heavy workaround, login on YouTube and subscribe your popuplar viewed channels (no works when you open random no subcribed channel) - when YouTube hide promotion video section.

DandelionSprout commented 4 years ago

Looking into some scripts that I previously somehow thought was too old, https://greasyfork.org/scripts/29422-disable-youtube-channel-user-home-page-video-autoplay actually seems to work.

Only catch is that its code is incomprehensible to me, thus I'd need significant help to convert it into a single uBO entry.

krystian3w commented 4 years ago

If possible remove video (user do not need see this), maybe works good:

youtube.com##ytd-channel-video-player-renderer:remove()

for very old Nano:

youtube.com##+js(nano-remove-elements-onready, ytd-channel-video-player-renderer)


becasue hidden element with CSS still play sounds.

haze2422 commented 4 years ago

https://greasyfork.org/scripts/29422-disable-youtube-channel-user-home-page-video-autoplay

thx, this script works but i think easier to just remove like krystian3w suggested

youtube.com##ytd-channel-video-player-renderer:remove()

DandelionSprout commented 4 years ago

(Un)Fortunately, removing all channel trailers completely isn't really something I'd want to do, since most of them form an important part of their channels, after all.

DandelionSprout commented 4 years ago

So with the situation being a bit standstilled in the past week, it seems to me that it's time to put this issue report on hiatus. But don't worry, it'll remain open for comments, and a call-for-help has been added to the Stop Autoplay On Video Sites list.