Jump to content



Photo

NEW YouTube layout


  • Please log in to reply
98 replies to this topic

#61 Guth

Guth

    Alba Gu Bráth

  • 803 posts
  • Joined: 30-December 05
  • Location: Scotland
  • OS: Windows 8 Pro
  • Phone: iPhone 5

Posted 07 December 2012 - 17:54

Heres my centre youtube script for stylish
Click the stylish button > Managed installed Styles > Write New Style
Paste this into the code box:
/*Centre Youtube by Guth */
#yt-masthead-container {
	margin: 0 auto;
}
#page-container {
	margin: 0 auto;
	width: 1100px;
}

Then next to "Applies to" click Specify > "URLs on the domain" and enter youtube.com
click save and you're done. Hopefully with a centred YouTube :)

I've tested this on both my monitors (1280x1024 and 1366x768) and it works fine with me.


#62 Kyang

Kyang

  • 1,156 posts
  • Joined: 23-November 07

Posted 07 December 2012 - 17:59

For anyone who liked uploads only, this is the direct link to it: https://www.youtube....subscriptions/u
I have youtube in my bookmarks bar, so I changed the bookmark from the homepage to that^

Now when I click it, i go straight to uploads :)


I use http://www.youtube.c...y_subscriptions

It's a lot tighter than the list view in the link you gave.

#63 +Brando212

Brando212

    Neowinian Senior

  • 6,503 posts
  • Joined: 15-April 10
  • Location: Omaha, NE
  • OS: OS X Mavricks, Windows 7/8.1 Pro
  • Phone: Sony Xperia ZL, Nokia Lumia 925

Posted 07 December 2012 - 18:00

there is no greasemonkey for chrome AFAIK ?
thats why I installed stylish when i was looking for greasemonkey a while ago.

Problem is, stylish uses CSS but greasemonkey can run javascript.

Youtubes body has a class of "site-left-aligned" but if you change that to site-centre-aligned it does centre. However, you need javascript to replace the class.
Im going to try just edit the site-left-aligned class with stylish and see if i can get it to centre.

both greasemonkey and stylish are built into chrome

#64 Guth

Guth

    Alba Gu Bráth

  • 803 posts
  • Joined: 30-December 05
  • Location: Scotland
  • OS: Windows 8 Pro
  • Phone: iPhone 5

Posted 07 December 2012 - 18:02

both greasemonkey and stylish are built into chrome

??
IT has a console you could paste those scripts, but you'd have to do it each time.
I tried clicking install without greasemonkey on that site you linked and it told me I could not install userscripts from that site.

I use http://www.youtube.c...y_subscriptions

It's a lot tighter than the list view in the link you gave.

nice! thats even better :) thanks

#65 +Brando212

Brando212

    Neowinian Senior

  • 6,503 posts
  • Joined: 15-April 10
  • Location: Omaha, NE
  • OS: OS X Mavricks, Windows 7/8.1 Pro
  • Phone: Sony Xperia ZL, Nokia Lumia 925

Posted 07 December 2012 - 18:05

??
IT has a console you could paste those scripts, but you'd have to do it each time.
I tried clicking install without greasemonkey on that site you linked and it told me I could not install userscripts from that site.

oh yeah, chrome changed that recently, they only allow direct installation of extensions from the chrome web store

to install extensions from other sites you have to right click and save the extension to a folder then goto "chrome menu > tools > extensions" and drag the extension from the folder into chrome and then it will install

they changed this a few months ago for added "security"

http://lifehacker.co...hrome-web-store

#66 trag3dy

trag3dy

    Neowinian Senior

  • 6,661 posts
  • Joined: 03-March 05
  • Location: USA

Posted 07 December 2012 - 18:17

Heres my centre youtube script for stylish
Click the stylish button > Managed installed Styles > Write New Style
Paste this into the code box:

/*Centre Youtube by Guth */
#yt-masthead-container {
	margin: 0 auto;
}
#page-container {
	margin: 0 auto;
	width: 1100px;
}

Then next to "Applies to" click Specify > "URLs on the domain" and enter youtube.com
click save and you're done. Hopefully with a centred YouTube :)

I've tested this on both my monitors (1280x1024 and 1366x768) and it works fine with me.


Thanks, works for Chrome but not for Firefox, oddly. Stylish for firefox does not have that "Applies to" feature that I can find.

#67 Guth

Guth

    Alba Gu Bráth

  • 803 posts
  • Joined: 30-December 05
  • Location: Scotland
  • OS: Windows 8 Pro
  • Phone: iPhone 5

Posted 07 December 2012 - 18:28

Thanks, works for Chrome but not for Firefox, oddly. Stylish for firefox does not have that "Applies to" feature that I can find.

Yeah I dont use FF so made that on chrome. Someone posted a greasemonkey one for FF.
It should still work without the applies to bit.
Although if any other site you use has those exact class names it may break them lol. Unlikely though.

If you are on FF the greasemonkey script is better as it can use javascript and actually replace the left with centered class which is actually in the CSS from youtube themselves, so that would work better. Just made the stylish one as there is no greasemonkey for FF.

Alternatively you could download the FF grasemonkey script and paste it into chromes console, but you'd have to do that every time you visited youtube.

oh yeah, chrome changed that recently, they only allow direct installation of extensions from the chrome web store

to install extensions from other sites you have to right click and save the extension to a folder then goto "chrome menu > tools > extensions" and drag the extension from the folder into chrome and then it will install

they changed this a few months ago for added "security"

http://lifehacker.co...hrome-web-store

Yep I knew that for extensions, but never heard of installing scripts? Only in the console as I mentioned earlier.

#68 +Brando212

Brando212

    Neowinian Senior

  • 6,503 posts
  • Joined: 15-April 10
  • Location: Omaha, NE
  • OS: OS X Mavricks, Windows 7/8.1 Pro
  • Phone: Sony Xperia ZL, Nokia Lumia 925

Posted 07 December 2012 - 18:42

Yep I knew that for extensions, but never heard of installing scripts? Only in the console as I mentioned earlier.

no, it's the same for installing scripts from userscripts.org, just drag the script into the extensions window and it installs

not sure why you would do it through the console, because as you said, if you do it that way you have to apply it every time

edit: scripts install just like extensions in chrome

scriptpic.PNG

#69 theyarecomingforyou

theyarecomingforyou

    Tiger Trainer

  • 15,899 posts
  • Joined: 07-August 03
  • Location: Terra Prime Profession: Jaded Sceptic
  • OS: Windows 8.1
  • Phone: Galaxy Note 3 with Galaxy Gear

Posted 07 December 2012 - 19:02

That video is not even centered on your screen, lmao.


Firstly, the new design is aligned to the left. Secondly, I don't use my browser maximised because of the wasted space. Here's a screenshot of what it looks like when I do:

Posted Image

And here is Pinterest for comparison:

Posted Image

#70 Guth

Guth

    Alba Gu Bráth

  • 803 posts
  • Joined: 30-December 05
  • Location: Scotland
  • OS: Windows 8 Pro
  • Phone: iPhone 5

Posted 07 December 2012 - 19:06

not sure why you would do it through the console, because as you said, if you do it that way you have to apply it every time

because I didn't know you could do it that way :)
thanks for the tip

#71 primexx

primexx

    Neowinian Senior

  • 12,705 posts
  • Joined: 24-April 05

Posted 07 December 2012 - 23:49

now just need to find another stop autoplay extension

#72 aviator189

aviator189

    Neowinian

  • 886 posts
  • Joined: 22-June 12

Posted 07 December 2012 - 23:51

hate it... too white.

#73 remixedcat

remixedcat

    meow!

  • 10,072 posts
  • Joined: 28-December 10
  • Location: Vmware ESXi and Hyper-V happy clouds
  • OS: Windows Server 2012 R2
  • Phone: I use telepathy and cat meows to communicate

Posted 08 December 2012 - 01:11

now just need to find another stop autoplay extension


youtube options note that you will have to re-enable most of the UI elements after installing becuase it whites out the stuff that's not related to the video like comments, etc...

YouTube-Options-For-Google-Chrome-813.PNG

#74 remixedcat

remixedcat

    meow!

  • 10,072 posts
  • Joined: 28-December 10
  • Location: Vmware ESXi and Hyper-V happy clouds
  • OS: Windows Server 2012 R2
  • Phone: I use telepathy and cat meows to communicate

Posted 08 December 2012 - 01:30

they seem to be coming out with a new layout every 3 months. this one is the worst so far.


that is very annoying since most people got stuff in muscle memory :( specially with youtube.....

#75 Guth

Guth

    Alba Gu Bráth

  • 803 posts
  • Joined: 30-December 05
  • Location: Scotland
  • OS: Windows 8 Pro
  • Phone: iPhone 5

Posted 08 December 2012 - 01:49

that is very annoying since most people got stuff in muscle memory :( specially with youtube.....

Good point, I do actually like the look of it.
but I keep going for a button only to see its moved.



Click here to login or here to register to remove this ad, it's free!