12 ms·
I created an alternative to the YouTube algorithm to stop me wasting time
- fsflover 6y agoI wish the author would also do this for PeerTube.
- ChrisLovejoy 6y agoAh, good suggestion! Let me look at what I can get from their API
- wizzwizz4 6y agohttps://sepiasearch.org/ https://sepiasearch.org/ might provide a better API for you.
- 2Gkashmiri 6y agoyes. as the other commenter said, sepiasearch is the index for around 500 peertube instances. also, can this be implemented in the browser as a website? a recommendation engine better than what we have right now would be nice
- johnnujler 6y agoReally love the intent there. Great stuff.
- ChrisLovejoy 6y agothanks John :)
- onurcel 6y agogreat idea! thanks for sharing this. Recently I noticed I get better suggestions when I am logged out [0]. I am still convinced someone could implement a recommendation system that can suggest more interesting videos based on my history. And it would make me spend more time on the platform so it would be actually win-win if that could have been done by youtube but given their current priorities on monetization I don't know if there is hope. I will give that a try. [0] https://news.ycombinator.com/item?id=25177807 https://news.ycombinator.com/item?id=25177807
- ChrisLovejoy 6y agoAh, interesting. Yeah I get the impression the algorithm really tries to feed you more of what you've watched, whereas sometimes the more 'generally' good videos are what you would prefer. I think you're right re: monetisation and incentives tbh, I can't envisage it changing any time soon
- grantlmiller 6y agoThis is great. I feel the same way, but have been trying to train the existing YT algorithm. I started using my work email youtube profile to actively subscribe/like/save videos that I want to see more of (about hiring, management, culture, Kubernetes, devtools etc). At the same time I aggressively choose "not interested" and "do not suggest this channel" when the algorithm isn't suggesting what I want (more detail: https://twitter.com/GrantM/status/1325471071265558532 https://twitter.com/GrantM/status/1325471071265558532).
- ChrisLovejoy 6y agointeresting - sounds like you've had good results so far?
- holyDictionary 6y agoIn my experience the YouTube algorithm is very easily manipulated. Just scroll through your feed and select "not interested" for what you dislike. The type of content changes very quickly.
- polycaster 6y agoOver the years I’ve probably „blocked“ every single term from the Star Wars universe. Yet as soon as the next iteration of the franchise approaches box offices I find myself flooded with the most absurd cross-marketing videos you can imagine. Not talking about (official) ads. I have the strong impression the algorithm either takes ad campaigns into account — or is being abused by advertisers very successfully.
- pbhjpbhj 6y agoMakes sense, ads are payed per impression, so if a company soaks away more impressions that don't lead to actions then that means more revenue. I guess the trick is to make sure your still - only just - the best cpm around.
- jmnicolas 6y ago
- typicalbender 6y agoIt looks like I have to pay for Medium premium in order to read this story... can anyone give me a tl;dr? Or it looks like I can use Google cache text only to get around the paywall but that seems sub-par.
- mellosouls 6y agoTry it in incognito tab in Chrome, or equivalent in another browser; that (Chrome Incognito) normally sorts it for me on Medium.
- typicalbender 6y agoI usually do that but was presented with this text from medium after I signed in: > Not every story on Medium is free, like this one. Become a member to get unlimited access and support the voices you want to hear more from. Which makes it sounds like this is a paid article regardless. Incognito worked though thank you.
- yorwba 6y agoI'm pretty sure the intended reading of "Not every story on Medium is free, like this one." is "This one is free, but not every story on Medium is."
- typicalbender 6y agoI think you're right however the only action it gave me was an "Upgrade" button. As far as I could tell there was nothing I could do to continue to read the article without subscribing to Medium. Here's the only thing I saw[1]. [1]: https://ibb.co/cLxMDMV https://ibb.co/cLxMDMV
- ChrisLovejoy 6y agoDidn't realise Medium was like this - I've just uploaded the article to my personal blog: https://chrislovejoy.me/youtube-algorithm/ https://chrislovejoy.me/youtube-algorithm/ Am going to see if I can update the link above aswell.
- bpodgursky 6y agoNote that a supplemental option is to also delete your YouTube account. I was worried I'd accidentally nuke my gmail account, but turns out you can delete your YouTube account + history without affecting any of your other Google services (I did it last night).
- aeternum 6y agoYoutube has some quality content that is not available elsewhere. For example it would be illogical to shred your library card just because you don't like the books that the librarian shows you.
- bpodgursky 6y agoI'm not suggesting nullrouting the site (if you don't need to), I'm suggesting deactivating your account so you're never shown the all-too-enticing personalized recommendations. You can always watch specific videos without being logged in.
- oriettaxx 6y agothis is what I do, too. but lately, with ublock origin ON, I cannot see it anymore
- mod 6y agoInstead of the lambda workflow, you could just stick it on a server in a cron job. I pretty much do that with a bunch of things on DigitalOcean, although there's a ton of comparable services.
- ChrisLovejoy 6y agoah okay, thanks. Yeah I think I may have over-complicated things by trying to use lambda. Will look into doing this on DO
- hjmcnew 6y agoSince your code is already hosted on GitHub you could also try using GitHub Actions with a scheduled trigger. https://docs.github.com/en/free-pro-team@latest/actions/reference/events-that-trigger-workflows#scheduled-events https://docs.github.com/en/free-pro-team@latest/actions/refe...
- bfung 6y agoIf you already made an AWS account, the t2.micro EC2 will work as well, free tier!
- pantelisk 6y agoThe youtube algorithm is working extremely well, to the point where I find hard to believe it does not have any human in the loop or active moderation. I have discovered so many interesting types of music and documentaries and subculture/subgenres on it. It manages to hit my interests so well, that I rarely go to netflix nor spotify anymore for discovery. I 'll either directly go watch something that I 've chosen on amazon prime, or let the youtube algorithm handle recommendations. (I know this reads like a fake review - but I swear I have no affiliation for youtube btw. Just amazed how well their recommendation engine works)
- Krasnol 6y agoIt really does sound like a fake review. Especially considering the fact that you did not even attempt outlining what the reason might be why so many others have the opposite experience.
- pantelisk 6y agoI don't know... honestly. I was extremely surprised. I was actually wondering if they switched to some level of human in the loop, because it used to suck in the past, but now is great. I expected people to have good experiences too. I 'm actually shocked to see how disappointed people are here... Here's an example of some stuff that just showed up recently. [1] Some guy camping an exploring an island that used to be a federal prison - https://www.youtube.com/watch?v=2xnI1hZdltw https://www.youtube.com/watch?v=2xnI1hZdltw [2] A documentary about homeless people racing carts - https://www.youtube.com/watch?v=zi-f_J6hV-g https://www.youtube.com/watch?v=zi-f_J6hV-g [3] Fantastic funk music (and I don't even listen to funk!) - https://youtu.be/m1oLjnKeUiY?t=2 https://youtu.be/m1oLjnKeUiY?t=2 [4] Fantastic old school theatrical hard rock from Japan - https://www.youtube.com/watch?v=CbI79e5iZKs https://www.youtube.com/watch?v=CbI79e5iZKs [5] Sapolsky's must-see lecture on stress - https://www.youtube.com/watch?v=D9H9qTdserM&t=112s https://www.youtube.com/watch?v=D9H9qTdserM&t=112s (which I got recommended and was watching this morning in the background while I worked) Just a random sample from stuff that popped up in the recent past. All the above captured my curiosity 100%. Maybe it's a personality thing, maybe I am eager to just discover novel stuff, that the quality level might not be the highest but the novel factor covers for it.
- gylterud 6y agoI found YouTube suggestions to be generally useless, so I have just disabled the suggestion sidebar completely[0]. Leaves more screen space for the video. The reason I found them useless is that the suggestions were too specialised. I usually do not want to watch a dozen videos on the same topic. I usually want to watch one high quality video about it, then move on. Same with channels. I do not want to follow ten channels about each of my hobbies. One channel or two high quality ones is enough. So, even though the linked project is super cool from a technical perspective, I am not sure how the algorithm could be improved to attend to my taste. [0]: https://hakon.gylterud.net/tutorials/youtube.html https://hakon.gylterud.net/tutorials/youtube.html (YouTube self-defence)
- ChrisLovejoy 6y agoI like the blog! Yeah, that's pretty much my exact gripe - that the algorithm just keeps wanting to show you more of the same. It's like a friend who gets obsessed about one thing after you said you liked it once :') I'm not sure how best to solve this though
- gylterud 6y agoI like when YouTubers talk about other channels they like, and I often go check those out – especially if they are on some completely different topic. Because if someone is making content I like, they might also have good taste when it comes to what they watch. But I think in general the art of "taste-making" remains just that: an art.
- tripzilch 6y agoMaybe a "this is cool; but enough for now" button? It would remember the category that you like but turn down its recommendation frequency for a duration (session?).
- altrunox 6y agoI had no idea uBlock could do that! I just removed my Twitter treding topics, awesome.
- deleted 6y ago[deleted]
- smoe 6y agoReally cool project, going to play around with it, since I wanted to experiment with alternative algorithms for these kind of platforms for a while, but didn't found time to get started. My biggest gripe with YouTube recommendations, or any service of that kind (Spotify, Amazon, etc.), is that they don't understand what aspects of the content I value. So it is a huge hit and miss. Sometimes it works, because I guess I just happen to value the same things that the majority of people do, other times, I might watch an hour long very in-depth video about a topic, then YouTube for a week or so tries to get me to watch 5 minute, rather shallow introduction videos that are way more popular. There is nothing wrong with those videos per se, they are often really well made, but it is not what I'm looking for. Other times it picks stuff up from the long tail that seemingly gets into a feedback loop, suddenly reaching millions of view, with practically zero relevance to me. Then there are some personal tastes of mine, e.g. that I can't stand the, I guess I'd call it the "Youtube Voice" where creators go completely over the top instead of talking like a normal person. I wonder what metric could be used as a proxy to get better recommendations? Or if a better approach would be, to just build a better custom search so I can tweak it to what I'm looking for at this moment in time.
- PopeDotNinja 6y agoI wish I could explicitly tell YouTube “don’t ever recommend videos I’ve seen.”
- ChrisLovejoy 6y agoamen! I wish you could crank up exploration cf. exploitation in your settings or something
- ma2rten 6y agoIt would be cool in general if recommendation algorithms or search algorithms were more customizable. I would imagine you could put some code into your settings that controls which recommendations you see. The platform, like YouTube in this case, could compute features that enable different kind of recommendation algorithms. There could be communities of people who tinker with this and share their recommendation algorithms.
- axkdev 6y agoThis inspired me to think: would it be possible to employ an opposite approach - negative selection. Develop a browser extension that hides bad results (based on smart filters) instead of trying to guess the best?
- ChrisLovejoy 6y agoreally interesting suggestion, I like it what do you think would be good markers of a bad video? other than the obvious (clickbait terms, repetitive/generic titles), I'm not sure what could work. any suggestions?
- zebnyc 6y agoPersonally GRAPE content (Guns / Religion / Abortion / Politics / environment) especially from opinion news sources. I notice that when I consume these content I never end up feeling better than when I started regardless of whether I agree / disagree with them. Also a huge time sink. Also, entertainment content about celebrities like the kardashians.
- ChrisLovejoy 6y agoI'm thinking maybe an extension where when you sign up, it asks: "what do you NOT want to see", and then for all topics you pick it will block videos on those. Kind of like when you sign up for Twitter or Medium, it asks you for topics of interest - here it would do the inverse
- deleted 6y ago[deleted]
- krmmalik 6y agoHow does a non-coder use what you've created? I want something that will allow me to add interesting videos to my "watch later" playlist. That way I can then watch the videos on the normal YouTube app on my apple tv
- ChrisLovejoy 6y agoYeah, it's not that easy to at the moment. I was planning to build a front-end site, where you could just type your search terms and parameters and it would show you the videos, but to honest I ran out of steam after I couldn't get the code to run on Lambda.
- krmmalik 6y agoOk, fair enough
- sktrdie 6y agoI want something like AdBlocker extensions but for replacing algorithms of these social media platforms. It can be community driven so I can select “give me scientifically proven posts” algorithm or “non political stuff” algorithm.
- pbhjpbhj 6y agoAs image recognition of objects seems pretty far on, I'd like to block all images of pets ... sorry, I don't care about your pets. Seems doable.
- Erlich_Bachman 6y agoWhat other features would you want in that?
- idrios 6y agoThis is awesome. So it errs on the side of hiding good content that you would want to see, while YouTube's algorithm errs on the side of showing you clickbait. I would absolutely love this as a browser add-on. My current approach to avoiding distraction on YouTube is an add-on called "Remove YouTube Recommended Videos, Comments" which does exactly what its title says it does, but leaves the actual YouTube page quite bare
- smusamashah 6y agoI find youtube recommendations on homepage really interesting. So much that I wish that article suggestions by Google in Android left side window were as good. I mostly watch tech, games, dev, toys etc. including rocket jump, Siggraph, viva LA dirt league, corridor, Tom Scott, Vertassium, Steve mould, numberphile etc. I almost always end up finding something interesting to watch. When it's not, I either mark it as 'not interested' or leave a dislike and it becomes good again
- zamadatix 6y agoThe thing I hate about recommendations on the homepage is clicking one 30 second funny video from a friend results in clicking "not interested" in 30 videos on the homepage to stop them from being recommended. Similarly, even if you use a different account, if you watch something you like and the algorithm decides it's more related to some other topic you don't like or thing you have no interest in it also floods the recommendations with this "fresh" topic you're "interested" in simply because you liked a video it misclassified. Much like the author I have no problems finding "decent" content from traditional wide audience channels like Tom Scott, Veritasium, Numberphile, Siggraph, etc it's trying to find that 1 video out of the full homepage of recommendations that's not mainstream but actually "very good" and in depth that ends up eating more time than watching the videos - followed by a refresh to apply all of the "not interested"s I added to try to steer away from certain content. Definitely going to try this repo when I get home.
- throwaway69123 6y agoI really wish youtube allowed me to block channels, so over time the quality of videos I do see improves.
- smt88 6y agoYou can block channels. It's in the same three-dot menu that lets you remove individual videos.
- bigtones 6y agoIt does allow you to block channels. It's the option "Don't recommend channel".
- throwaway69123 6y agoThis seems to be only available on the home page, but thank you I didnt know this exists. Do you know what the option on the video page itself does "Not interested"?
- pbhjpbhj 6y agoQuality of channels can go up and down though? Surprised if disliking a couple of vids from a channel isn't enough to prevent getting suggestions for that channel?
- jeromenerf 6y agoDumb quantitative approach may work for some. Views and subscribers counts are close to irrelevant IMO when it comes to niche or expert subjects. Freshness is irrelevant for woodworking. I would prefer saved searches. But YouTube doesn’t seem to index the auto generated subtitles.
- chris_st 6y agoI've done a lot with Lambda, but only with node and go. I've never hit the problem you found -- perhaps translating to another language would work? I've heard that a lot of pythonistas like go, and it doesn't look like you're doing anything too difficult, so it should be possible.
- dukeofdoom 6y agoOne feature I wish Youtube had was a preview thumbnail that was made of 10 screen shots from key moments in the video, side by side. Would make it easy to filter out all the talking head. And right away see if its worth watching. Does the video teach you something worth knowing? Feel like this could be answered by taking the captions and ranking the difficulty of the language used, or making a word map. Then have AI deciding is this about math, science, politics, and so on. Even simple as rating the words on a grade reading level would help to filter out useless videos.
- thoughtstheseus 6y agoGreat project. Seriously though, Be better at search YouTube. Get out of the recommendation business early.
- _boffin_ 6y agoThis is a great start, but there's a huge portion of data you're just flat out missing from this--comments. There's so much useful information inside user comments. I have a theory that I'm truthfully too lazy to test out, but I'm presuming that lower quality videos are going to have an average comment text complixicity number lower than the higher quality videos, especially as your topic gets more specific/technical. Take a look textstat(1) for some examples. (1). https://github.com/shivam5992/textstat https://github.com/shivam5992/textstat
- speedgoose 6y agoUnfortunately comments are known to be important for ranking. I see more and more Youtubers asking their audience to write comments. The carwow channel for example is definitely asking to answer stupid debates in the comments to improve its ranking. The vilebrequin channel does the same but as a joke and explain that it's to improve the ranking. The community then write a lot of long and stupid comments to improve the ranking.
- bryanrasmussen 6y agowriting a comment, and doing likes, both improve the ranking. Writing long complex comments that are still readable would be a lot harder to ask of your audience, you would have to inspire it. Therefore something like this is maybe better for the ranking https://medium.com/glose-team/how-to-evaluate-text-readability-with-nlp-9c04bd3f46a2 https://medium.com/glose-team/how-to-evaluate-text-readabili... on edit: changed wrong comments to ranking
- bobbydreamer 6y agoYouTube or Google search business need algorithm change. They need to go back to what they had 7-8 years back. Tiktok had the best recommendations system so far. They are designed to keep you hooked. YT they are designed and give feel you are wasting your time on this so go back to your life. Not sure if search engines can provide user defined algorithm plugins for searching or day use search algorithm 1 or 2. Most of the time feel like I am restricting myself from watching new videos in youtube because it might think I like this starts to recommend that will be a problem. So I don't even anyone my mobile to watch youtube videos. They should have incognito button so that I can watch new stuff.
- drivebycomment 6y agoYoutube app has an incognito mode.
- sam1r 6y agoWhy doesn’t one pick the videos they would like to watch; and put them in a queue... so you’re fully in control? Just my two cents.
- thrownoone 6y agoToo much work.
- disown 6y agoIs there anything to help one stop wasting time by reading about how to stop wasting time? People must waste more time reading about how to not to waste time than anything. Just like all these people being unproductive while reading about how to be more productive. Of course the solution to all this is self-discipline but that doesn't sell.
- jingw222 6y agoInterestingly, the ranking approaches used here are quite comparable to how those big giants do their recsys algorithms. The algorithms are never perfect and there will always be edge cases that even machines learning models cannot handle decently.
- umvi 6y agoThis is an awesome idea. Imagine if the YouTube platform itself let you swap out recommendation algorithm in your settings with alternatives like this one.
- tus88 6y agoI find the most useful recommendations in the list called "Viewers of this channel also watch..." or "Viewers who liked this vide also liked...".
- 2Gkashmiri 6y agoCan this be reimplemented to support peertube? The algorithm would need to be changed to not work on views and subscriptions because those figures are too low. Maybe some other rules based on engagement? Time? Comments?
- ChrisLovejoy 6y agoYeah, so someone else suggested this too - I'm going to look into the API and see what information I can get from it
- thrownoone 6y agoThis !! I want to be programming bubble. nothing else. I wish google had a way to choose/switch what bubble I want be in. Conspiracy, tech, flat earth etc.
- oriettaxx 6y agovery good! I guess there is no way to have the same result without the need of the API key (I do my best to stay away from google)
- ment4list 6y agoYou could perhaps use Invidious's API? Invidious is "an alternative front-end to YouTube" which can be self-hosted or you can use one of the popular hosted instances. https://github.com/iv-org/invidious/ https://github.com/iv-org/invidious/ https://github.com/iv-org/invidious/wiki/API https://github.com/iv-org/invidious/wiki/API
- BeetleB 6y agoFor me, the YT suggestions are so bad I consider it to be a feature. If they were any good, I'd waste time on Youtube. I like this submission, but I honestly don't want to improve my Youtube experience.
- bigfoot675 6y agoYou might find AWS SAM CLI to be useful for packaging your code artifacts. I'm not sure if you've found this yet, but even so, it can be finnicky sometimes. Particularly, the "sam build --use-container" command might be useful for simulating the Lambda environment https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-sam-cli-using-build.html https://docs.aws.amazon.com/serverless-application-model/lat...
- AR_14 6y agoIf you want a non-coding approach to build a filter, take a look at the Firefox Extension "Distraction Free Youtube". It allows you to hide the Feed, disable Autoplay, hide the Sidebar and related Videos etc., and thus completely filter out every recommendation, now you would just have to subscribe to all the Channels that interest you - tada personalized feed. Of course this has some short comings: Likewise you won´t discover new interesting channels and other novel videos etc., so to speak you´d have to subscribe to every channel that could contain a video of your interest That´s my system for not wasting so much time on Youtube; thank you Chris for sharing the post, it inspired me to undertake the coding approach, if i have time in the near future, to build a good filter.
- st1ck 6y agoEven better, don't login and clear cookies frequently (Cookie AutoDelete addon, or just incognito mode). I just hid recommendations div with adblock. Still, in the end of every video there are 9 top recommendations displayed, so I'm not losing on anything. I have maybe 4 channels I check out from time to time, and all of them post new videos pretty irregularly, so there is not much point in managing subscriptions. That said, I recently started using NewPipe on mobile and have subscriptions there.
- shaicoleman 6y agoI think it's better just to hide the suggestions by default. I use the Improve YouTube! extension https://chrome.google.com/webstore/detail/improve-youtube-open-sour/bnomihfieiccainjcjblhegjgglakjdd https://chrome.google.com/webstore/detail/improve-youtube-op...
- charliebrownau 6y agoStop using platforms that is Pro Censorship Anti Truth Anti Facts Anti White Anti Western Anti Native ethnic straight males
- charliebrownau 6y agoCharliebrownau Recommended Alt tech List - 24/Sept/2020 ====================================================== * Fakebook >> Minds + Mumblit * Twatter >> Gab * Youtube >> Bitchute + Bittube.video (bittubers) + UGETube (utahgunexchange.com ) (or self hosted peertube) * Streaming >> JoshwhoTV + Entropy * Google E-Mail >> Tutanota + Protonmail * Google & DDG Search >> SearX/Swisscows/Wiby.me * Google Maps >> OpenStreetMap * Podcast hosting >> Spreaker * Medium >> Publish0x * Skype/video chat >> Jitsi Meet * Whatsapp/fb/etc >> Session /Matrix / Delta.chat /Self hosted XMPP * Discord >> Mumble or SIP or Matrix * Reddit >> Ruqqus - https://ruqqus.com/ https://ruqqus.com/ * Wiki >> infogalactic * meetup.com >> @GetTogether * Instagram >> pixiv.net * Pastebin/pastetext >> https://dpaste.org/ https://dpaste.org/ https://hastebin.com/ https://hastebin.com/ (TOR friendly) * Image Upload >> TBA ... * Streaming chat/superchat >> Entropy * Xsplit >> OBS * Pateron >> Subscribestar + superfanz.co * Spreadshirt/redbubble/teespring >> TBA * MS Win 8/8.1/10 >> Linux OS (PC) * MS Office >> Libreoffice * MacOSX >> Elementary OS (PC) * Android >> Lineage OS * Playstore/fdroid >> Aptoide/Apkpure * Alt Mobile Phone >> Pinephone * Alt Laptop >> Pinebook or Raspi * VPN (home PC) >> Mullvad VPN * DNS (home PC) >> DNS.Watch * Domain >> Epik & Unstoppable Domains * Hosting >> Vultr VPS * Maillist/mailchimp >> Mailcow Mailing list * view Youtube anon+Privacy - https://instances.invidio.us/ https://instances.invidio.us/ * View twatter anon+privacy - https://nitter.net/ https://nitter.net/ #free-speech #alt-tech #censorship #opensource #2030 ===================================
- alisonkisk 6y agoThe results don't seem very interesting. The highlighted results are just generic vlogs. The highlighted GPT-3 video was just someone sitting ina chair reading text.
- aussieguy1234 6y agoCould this become smarttube.com?
- nunorbatista 6y agoYouTube recommendations are generally not good. After I activated my pi-hole it went completely useless. The other day I was suggested Japanese motorcycle drifting. I wrote my masters around the YouTube algorithm and the implications on politics. Some of my findings: - The algorithm works differently in English or other languages; - The number of views is not a very important metric on the recommendations - The number of interactions is a much more important metric for the algorithm - The algorithm seems to be fairly simple: the more a video has the searched keyword, the better chance you have for it to rank higher - YouTube doesn't necessarily put you on a "bubble" as defended by some authors on other social media platforms. It suggests videos that are related but if no other videos are relevant, it has no issues with suggesting content that is contrary to the initial. An example would be: "Donald Trump speaks about the elections". If no other Donald Trump content is available, it will suggest content about the elections, and this might mean a video about an opponent
- RobKohr 6y agoDo reduce the distraction of YouTube, I stripped off all the suggestions and comments from it. This makes it so YouTube just shows a single video, and doesn't send me down a rabbit hole. I used stylebot chrome extension with this css: #masthead-container, .videowall-endscreen, #secondary, .ytd-comments, #upload-info, ytd-video-owner-renderer, .super-title,.ytp-ce-element, #items { display:none } and I used CJS to add this javascript to the page (I did this first, so possibly the css made some of this not needed). Be sure to turn jQuery on. const $ = jQuery; function hideThem(){ if(jQuery('.ytd-compact-autoplay-renderer#toggle')[0].checked){ jQuery('.ytd-compact-autoplay-renderer').click(); } } hideThem(); $(document).ready(()=>{ hideThem(); });