YouTube remove recommended videos from subscription area

in Ideas and script requests
Subscribe to YouTube remove recommended videos from subscription area 8 posts, 6 voices



YouTube Snob User
FirefoxWindows

Hi,

I have the YouTube Sidebar Remover & Subscription Enlarger by Girst that can be found at:
http://userscripts.org/scripts/show/123960

Well it seems like the evil minds at YouTube don't like us removing their recommended videos bar because they started injecting videos into my subscription box! (image below)

[IMG]http://i46.tinypic.com/2lvfcra.jpg[/IMG]
or use this link: http://i46.tinypic.com/2lvfcra.jpg

I've searched around and it doesn't look like anyone has done anything about this yet since it showed up last night for me. I would try my hand at making this if someone could give a suggestion on how it's done. If anyone else wants to make it themselves, that's all the better though!

Thanks for your time.

 
Cletus Scriptwright
FirefoxWindows

Try posting in the script's discussion tab and sending the author a message.

It is unlikely that these general forums will help modify a script when the author of that script should be able to do it for you.

 
YouTube Snob User
FirefoxWindows

Going to bump this because I did everything Cletus said to do and didn't get a response. I'm not actually asking for the script to be modified I'm asking for another script to do something similar.

How would this be done by the way? I have experience with C++ but nothing in web programming. I would assume it's like:

for( eachelementoftype )
{
if(thisisthefirst)element.dontshow();
}

Or something syntactically correct :P

 
Vivre Scriptwright
FirefoxX11

Hi Mr Snob,
just 2ct in between. I never use this so-called homepage and only examined it a bit closer now. (So it's still unmanipulated.)

Among my subscribtions I only have stuff concerning them. On the right side 3 rubrics: recommended /spotight /featured. But nowhere can I find a recommendation because I've watched sth. somewhere. Maybe it's because my view history is short and cleaned up before logout. I suppressed capturing of search - history and have yt/gl-cookies deleted automatically.
So maybe if you'd clear your histories this special recommendation-advert might stop until yt-has again collected enough info about you? (And maybe also 'pause' view-history?)

 
girst Scriptwright
FirefoxWindows

I'm sorry for not replying to you. I created this script for my personal use and it worked for me so I did not care about this script again. I did not expirience the same problem as you in Ausria. YouTube Snob already posted a solution, I do not have time to program this.
A quick solution would be to try out http://userscripts.org/scripts/show/123111 and just delete the first item every time.

 
Jefferson Scher Scriptwright
FirefoxWindows

I don't see that, but then, I hardly ever used YouTube logged in, so they probably have no idea what to recommend to me.

If you can spot an identifying characteristic of the recommended item (perhaps it has a unique class name associated with those gray triangle corners?), then you could safely write a script to hide it when it appears.

In sorta-pseudocode:

var firstItem = document.querySelector('#feed-main-all  div.feed-item-container');
if (firstItem.className.indexOf("stringTBD") > -1){
  firstItem.parentNode.style.display = "none";
} else { // just color it to show we were here
  firstItem.parentNode.style.background = "#ff8";
}

 
JR27 User
ChromeWindows

Unfortunately this has nothing to do with a userscript... It appears that the new layout is something that YouTube is testing out on a handful of people. I'm not using any userscripts, but I have the same layout that YouTube Snob shared in his screenshot (No sidebar, but recommendations mixed in with my subscriptions).

This is only happening on my home computer though. My work computer still has the recommendations tucked away nicely in the sidebar.

 
JR27 User
ChromeWindows

I found it! There's a cookie for youtube.com called "VISITOR_INFO1_LIVE". If you delete that cookie, the recommendations will return to the sidebar... at which point, your userscript should continue to do it's job of hiding the sidebar.