Youtube Watch Page Fix by lightbeam

Install Get Stylus Write a review

Details

Authorlightbeam

LicenseMIT License

Created

Updated

Categoryyoutube

Statistics

Learn how we calculate statistics in the FAQ.

Total views

Total installs

Weekly installs

Description

Removes some of the changes to the youtube watch page that were implemented on May 9, 2022. This includes removing the "extra comment section".

Notes

Version 2.0 - TBD

Planned - Removes the temporary fixes in favor of permanent fixes only. To try these permanent fixes out, install the beta version of this script.

Version 1.3 - May 10, 2022

New - Restores video title font size to 18px.

Version 1.2 - May 10, 2022

New - Fully restores the old layout using a temporary fix. This will only work until the next time YouTube updates its code.

Version 1.1 - May 10, 2022

New - Restores the old video title font.
New - Removes the bold font on the upload date and view count.
Bugfix - The border around the channel name was visible again.
Minor Change - Added comments explaining which parts of the code does what.

Version 1.0 - May 9, 2022

Initial Release

Source code

/* ==UserStyle==
@name           Youtube Watch Page Fix
@namespace      youtube.com
@version        1.3
@description    Removes the recent changes to YouTube's watch page
@author         lightbeam
==/UserStyle== */

@-moz-document domain("youtube.com") {
/* Temporary fixes. THESE WILL NOT WORK THE NEXT TIME YOUTUBE UPDATES ITS CODE. */
ytd-watch-metadata { 
  display: none !important;
}
#meta-contents[hidden], #info-contents[hidden] { 
  display: block !important;
}


/* Permanent fixes */
/* Removes second comment section, */
#comment-teaser.ytd-watch-metadata {
display: none;
}
/* Removes border around creator's name and sub button. NOTE: This part doesn't work as of 1.1, but keeping it for now just in case. */
#owner.ytd-watch-metadata {
border: none; 
}
/* Removes border around creator's name and sub button. */
ytd-watch-metadata:not([modern-metapanel]) #owner.ytd-watch-metadata {
border: none;
}
/* Reverts the video title font. */
ytd-watch-metadata[smaller-yt-sans-light-title] h1.ytd-watch-metadata {
  font-family: "Roboto",sans-serif;
  font-weight: 400;
  font-size: 18px;
}
ytd-video-primary-info-renderer[use-yt-sans20-light] .title.ytd-video-primary-info-renderer {
  font-family: "Roboto",sans-serif;
  font-weight: 400;
  font-size: 18px;
}
/* Removes the bold letters on upload date and view count. */
.yt-formatted-string[style-target="bold"] {
  font-weight: 400;
}
}

Reviews

No reviews yet.