-
24 votes
-
[SOLVED] How can I hide streams from my YouTube subscriptions page?
Picture explanation: https://i.horizon.pics/tWovRax4kh.jpg When I view my subscriptions page on YouTube, half the "videos" are recordings of completed streams, often 2+ hours in length. I'm not...
Picture explanation:
https://i.horizon.pics/tWovRax4kh.jpg
When I view my subscriptions page on YouTube, half the "videos" are recordings of completed streams, often 2+ hours in length. I'm not interested in watching these. For me, they're just pollution in the feed.
Apparently, a lot of the channels I subscribe to, whose videos I enjoy watching, also stream on YouTube a lot.
Second Wind is probably the channel I'm most hung up about. I like their normal videos, and don't want to unsubscribe from their channel, but jesus they stream two or three times a day.
(Also, it's annoying that when I view a YouTube channel, I can visit their videos page or their streams page separately. Why can't I have this same separation on my own subscriptions page?)
(Also also, I already use an extension to hide shorts (among other things), but it unfortunately does not have a feature for hiding streams.)
Fancy bullet point summary:
- I want to hide recorded streams from my subscriptions page
- I don't care as much about hiding active livestreams, because those don't pollute my subscriptions page nearly as much
- I do not want to unsubscribe from any of the channels I follow. That is not an option
- I'm willing to stop using
youtube.comin favor of an alternative client (web, desktop, etc) if that client supports hiding recorded streams from actual videos - I'm willing to install a browser extension that can solve this problem (but I can't find one for Firefox)
Ninja edit:
While writing up this topic, I actually found my own solution. The browser extension I mentioned earlier has an "advanced blocking" feature that takes a JavaScript function as input. The extension's GitHub page has an issue, with a comment, with some code to hide streamed videos on the subscriptions page.
However, that code didn't work when I tried it. Thankfully, I just needed to check for
videoRendererinstead ofgridVideoRenderer.Here's the updated code:
(video, objectType) => { // Only videos on the Subscription page if ( objectType === "videoRenderer" ) { if ( video.hasOwnProperty("badges") && video.badges.includes("live") ) { return true; } if ( video.hasOwnProperty("publishTimeText") && video.publishTimeText.indexOf("Streamed") != -1 ) { return true; } } return false; }I have no idea what the consequences of checking against
videoRendererinstead ofgridVideoRenderermight be, and right now I'm too lazy to find out. This works well enough for now.(The "consequence" might be that streams are hidden from the related/recommended videos in the sidebar of a video page? I actually hide that sidebar, so I wouldn't know. Oh, and they'll probably be hidden from a channel's streams feed.)
It isn't a perfect solution though. Streams that are "scheduled" still show up on the subscriptions page. However, I think channels can set streams and videos as scheduled? So blocking one without the other would be more complicated?
I welcome any feedback or improvements on the code.
15 votes - I want to hide recorded streams from my subscriptions page
-
Deno v. Oracle: Canceling the JavaScript trademark
45 votes -
Polyfill supply chain attack hits 100K+ sites
45 votes -
core-js: So, what's next?
15 votes -
Converting Userscript to Chrome Extension: The monkeys are no longer needed
5 votes -
Developer nukes his extensively used JS libraries to protest corporate use without compensation
17 votes -
Bangle.js 2 is a hackable, open source smartwatch that runs JavaScript
12 votes -
JSHint: Watching the ship sink (A lesson on ambiguous licenses)
7 votes -
MDN (beta) is now built with React
6 votes -
Animating URLs with Javascript and Emojis
15 votes -
In-browser cryptocurrency mining service Coinhive will shut down on March 8
17 votes -
GoDaddy is sneakily injecting JavaScript into your website and how to stop it
44 votes -
Mac, Electron and the decline of native apps
17 votes -
Create-React-App 2 is live
8 votes -
I made a post awhile back about asking for inspiration for a new project. I built a thing.
hey all! i made a post awhile back talking about how i was in a tech rut, and tired of creating the same things over and over again, working with the same libraries and the same frameworks. i was...
hey all!
i made a post awhile back talking about how i was in a tech rut, and tired of creating the same things over and over again, working with the same libraries and the same frameworks.
i was bored of it!
so last week i said hell with it and i spent more money than i should've on udemy courses, learned a lot about javascript and the mern stack (mongodb, express.js, react, node.js)
then, after a few nights of staying up way later than i should have (i have presently been awake for 27 hours) i built this thing:
https://dry-castle-80238.herokuapp.com/dashboard
dev-connector.
a small little social media site for the technically-minded.
nothing groundbreaking or super fancy - just a basic social media site with posts, comments, user profiles and all that. but it's the first thing in awhile that i've actually finished and put into production on some capacity (even if it's just heroku)
jump in, leave a few comments, and let me know what you think. :)
passwords are hashed with bcryptjs, but i've been recommending everyone just use fake login info on sign up for safety's sake.
12 votes -
Your web app is bloated
16 votes -
Sphero spin-off Misty Robotics releases new sensor packed robot dev kit programmable in JavaScript
3 votes -
Machine learning in JS
3 votes