Posted: . At: 9:56 AM. This was 1 year ago. Post ID: 16958 Page permalink . WordPress uses cookies, or tiny pieces of information stored on your computer, to verify who you are. There are cookies for logged in users and for commenters. These cookies expire two weeks after they are set.
Youtube features a new rounded layout, but this does not appeal to every user. This Tampermonkey script will fix the layout until another update breaks it again.
// == UserScript==
// @name Youtube layout fix Nov 2022 .
// @namespace http: //tampermonkey.net/
// @version 0.1
// @description try to take over the world!
// @author You
// @match *: //*.youtube.com/*
// @icon https://www.google.com/s2/favicons?domain=youtube.com
// @grant GM_addStyle
// @run-at document-start
// ==/UserScript==
(function() {
'use strict';
// daily reminder that this userstyle reverts the layout to pre-round bullshit
GM_addStyle ( `
*:not(#player *){
border-radius:0 !important;
}
*{
font-family:sans-serif !important;
font-weight:normal;
}
#description{
background:transparent !important;
}
#description-inner{
margin:0 !important;
}
#description-interaction *{
background:none !important;
border:none !important;
}
button{
background:transparent !important;
}
button:after{
display:none;
}
#top-row{
position:relative;
}
.ryd-tooltip{
display:none !important;
}
.ytd-subscribe-button-renderer *{
color:#fff;
}
.ytd-segmented-like-dislike-button-renderer #text{
margin-left:8px;
}
canvas{
display:none;
}
#masthead{
background:#1d2021;
}
#voice-search-button{
background:none !important;
}
.iv-branding{
display:none;
}
` );
})();
// ==UserScript==
// @name Youtube layout fix Nov 2022.
// @namespace http://tampermonkey.net/
// @version 0.1
// @description try to take over the world!
// @author You
// @match *://*.youtube.com/*
// @icon https://www.google.com/s2/favicons?domain=youtube.com
// @grant GM_addStyle
// @run-at document-start
// ==/UserScript==
(function() {
'use strict';
// daily reminder that this userstyle reverts the layout to pre-round bullshit
GM_addStyle ( `
*:not(#player *){
border-radius:0 !important;
}
*{
font-family:sans-serif !important;
font-weight:normal;
}
#description{
background:transparent !important;
}
#description-inner{
margin:0 !important;
}
#description-interaction *{
background:none !important;
border:none !important;
}
button{
background:transparent !important;
}
button:after{
display:none;
}
#top-row{
position:relative;
}
.ryd-tooltip{
display:none !important;
}
.ytd-subscribe-button-renderer *{
color:#fff;
}
.ytd-segmented-like-dislike-button-renderer #text{
margin-left:8px;
}
canvas{
display:none;
}
#masthead{
background:#1d2021;
}
#voice-search-button{
background:none !important;
}
.iv-branding{
display:none;
}
` );
})();
This should be very useful to a Youtube user who wants to fix the layout.
This is what it looks like. Very nice indeed.