Classic YouTube Tweaks

Little tweaks to make the youtube experience better (if you liked the old youtube.)

您需要先安装一个扩展,例如 篡改猴Greasemonkey暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴Userscripts ,之后才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。

您需要先安装用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

// ==UserScript==
// @name          Classic YouTube Tweaks
// @namespace     http://userstyles.org
// @description	  Little tweaks to make the youtube experience better (if you liked the old youtube.)
// @author        Gabriel Cabrera
// @homepage      https://userstyles.org/styles/180914
// @include       http://youtube.com/*
// @include       https://youtube.com/*
// @include       http://*.youtube.com/*
// @include       https://*.youtube.com/*
// @run-at        document-start
// @version       0.20200325045014
// ==/UserScript==
(function() {var css = [
	".yt-uix-button-subscribe-unbranded, .yt-uix-button-subscribe-unbranded[disabled], .yt-uix-button-subscribe-unbranded[disabled]:hover, .yt-uix-button-subscribe-unbranded[disabled]:active, .yt-uix-button-subscribe-unbranded[disabled]:focus {",
	"    border: 1px solid ",
	"#f7c008;",
	"background: no-repeat url(https://i.imgur.com/czxoQeW.png) -3px -175px !important;",
	"    height: 25px;",
	"}",
	".yt-lockup-notification .yt-lockup-title a {",
	"    font-weight: normal !important;",
	"}",
	".yt-lockup-title a, .yt-lockup:hover .yt-lockup-meta a, .yt-lockup:hover .yt-lockup-description a {",
	"    color: #167ac6;",
	"    font: 12px \"YouTube Noto\",Roboto,arial,sans-serif;",
	"    font-weight: normal;",
	"font-size: 13px;",
	"line-height: normal;",
	"    text-align: start;",
	"    font-weight: 500 !important;",
	"}",
	"#action-panel-details a {",
	"    color: #0033cc !important;",
	"}",
	"	/*TITULO*/",
	"	#watch7-headline span {",
	"    color: #333 !important;",
	"    font-size: 20px !important;",
	"    font-weight: bold !important;",
	"    font-family: arial, sans-serif !important;",
	"}",
	"/*TAGS*/",
	"	#watch7-headline a {",
	"    color: ",
	"    #0033cc !important;",
	"        font-size: 12px !important;",
	"}",
	".standalone-collection-badge-renderer-text a {",
	"    background-color: ",
	"    #f1f1f1;",
	"    border-radius: 2px;",
	"    color: #090;",
	"    padding: 0 4px;",
	"    margin-right: 6px;",
	"    text-transform: none;",
	"}",
	"/*cambiar logo*/",
	".exp-invert-logo #header::before, .exp-invert-logo .ypc-join-family-header .logo, .exp-invert-logo #footer-logo .footer-logo-icon, .exp-invert-logo #yt-masthead #logo-container .logo, .exp-invert-logo #masthead #logo-container, .exp-invert-logo .admin-masthead-logo a, .exp-invert-logo #yt-sidebar-styleguide-logo #logo {",
	"    background: no-repeat url(https://i.imgur.com/nxxH3tQ.png) !important;",
	"    background-size: auto !important;",
	"    background-size: 90px 30px !important;",
	"}",
	"/*cambiar color de azules*/",
	" a {",
	"    /*color: #0033cc !important;*/",
	"    cursor: pointer !important;",
	"    text-decoration: none !important;",
	"    font-weight: normal !important ",
	"}",
	"/*cambiar fuentes*/",
	" .comment-renderer-header .comment-renderer-time {",
	"    color: #7eff00 !important;",
	"    font-size: 11px;",
	"}",
	"body, input, button, textarea, select {",
	"    font-size: 13px;",
	"}",
	"/*cambiar color de likes*/",
	" .comment-renderer-like-count {",
	"    margin-right: 8px;",
	"    color: #090;",
	"    font-size: 9pt;",
	"    vertical-align: top;",
	"}",
	"button, input, textarea {",
	"}",
	"/*contador visitas*/",
	" .watch-view-count {",
	"    margin-top: 3px;",
	"    font-weight: bold !important;",
	"    color: #333 !important;",
	"    font-size: 19px !important;",
	"    font-family: arial, sans-serif !important;",
	"}",
	"/*descripcion*/",
	"body, input, button, textarea, select {",
	"    font-size: 13px !important;",
	"}",
	"/*boton like*/",
	".like-button-renderer-like-button:active .yt-uix-button-content, .like-button-renderer-like-button.yt-uix-button-toggled .yt-uix-button-content {",
	"    color: #090 !important;",
	"}",
	"/*boton dislike*/",
	".like-button-renderer-dislike-button:active .yt-uix-button-content, .like-button-renderer-dislike-button.yt-uix-button-toggled .yt-uix-button-content {",
	"    color: #C22 !important;",
	"}",
	"/*colores like dislike */",
	".video-extras-sparkbar-dislikes{background:#C22!important}",
	".video-extras-sparkbar-likes{background:#009900!important}",
	"",
	".like-button-renderer-like-button.yt-uix-button:active::before, .like-button-renderer-like-button.yt-uix-button.yt-uix-button-toggled::before {",
	"    background: no-repeat url(https://i.imgur.com/rgN8xQr.png) -79px -278px !important;",
	"        background-size: auto;",
	"    background-size: auto;",
	"    width: 20px;",
	"    height: 20px;",
	"}",
	".like-button-renderer-like-button::before {",
	"    background: no-repeat url(https://i.imgur.com/rgN8xQr.png) 0 -867px !important;",
	"        background-size: auto;",
	"    background-size: auto;",
	"    width: 20px;",
	"    height: 20px;",
	"}",
	".like-button-renderer-dislike-button::before {",
	"",
	"    background: no-repeat url(https://i.imgur.com/rgN8xQr.png) -174px -804px !important;",
	"        background-size: auto;",
	"    background-size: auto;",
	"    width: 20px;",
	"    height: 20px;",
	"    padding-bottom: 1px;",
	"",
	"}",
	"/*dislike se pinta a rojo*/",
	"",
	".like-button-renderer-dislike-button:active::before, .like-button-renderer-dislike-button.yt-uix-button.yt-uix-button-toggled::before {",
	"",
	"    background: no-repeat url(https://i.imgur.com/rgN8xQr.png) -129px -887px !important;",
	"        background-size: auto;",
	"    background-size: auto;",
	"    width: 20px;",
	"    height: 20px;",
	"    padding-bottom: 1px;",
	"",
	"}",
	"",
	"/*eliminar alerta de youtube clasico dejara de funcionar*/",
	"#alerts, ",
	"#initial-feed-promo, ",
	"#my-subscriptions-promo, ",
	"#channel-subscription-promo-in-feed, ",
	"#watch7-branded-banner, ",
	".iph-dialog, .iph-bracket-left, ",
	".guide-section.guide-header.signup-promo, ",
	".watch7-card-promo {display: none !important;}",
	".shelf-description, .shelf-annotation { display:none !important; }",
	".branded-page-module-title a:visited, .branded-page-module-title a { display:none !important}",
	".shelf-item .shelf-title-row {display: none !important;}",
	"/*{display: none;}*/",
	"",
	".action-panel-trigger-share::before {",
	"    background: no-repeat url(https://i.imgur.com/rgN8xQr.png) -267px -824px;",
	"        background-size: auto;",
	"    background-size: auto;",
	"    width: 20px;",
	"    height: 20px;",
	"}",
	"",
	"#comment-section-renderer .sprite-like::before {",
	"    background: no-repeat url(https://i.imgur.com/rgN8xQr.png) -199px -776px;",
	"        background-size: auto;",
	"    background-size: auto;",
	"    width: 14px;",
	"    height: 14px;",
	"}",
	"#comment-section-renderer .sprite-dislike::before {",
	"    background: no-repeat url(https://i.imgur.com/rgN8xQr.png) -25px -606px;",
	"        background-size: auto;",
	"    background-size: auto;",
	"    width: 14px;",
	"    height: 14px;",
	"}",
	"#comment-section-renderer .sprite-dislike[aria-checked=\"true\"]::before {",
	"    background: no-repeat url(https://i.imgur.com/rgN8xQr.png) -216px -70px;",
	"        background-size: auto;",
	"    background-size: auto;",
	"    width: 14px;",
	"    height: 14px;",
	"}",
	"#comment-section-renderer .sprite-like[aria-checked=\"true\"]::before {",
	"    background: no-repeat url(https://i.imgur.com/rgN8xQr.png) -234px -70px;",
	"        background-size: auto;",
	"    background-size: auto;",
	"    width: 14px;",
	"    height: 14px;",
	"}",
	".addto-button::before {",
	"    background: no-repeat url(https://i.imgur.com/rgN8xQr.png) -264px -127px;",
	"        background-size: auto;",
	"    background-size: auto;",
	"    width: 20px;",
	"    height: 20px;",
	"}",
	".yt-uix-button {",
	"    font-size: 11px;",
	"    white-space: nowrap;",
	"    font-weight: normal !important;",
	"    word-wrap: normal;",
	"    line-height: normal;",
	"    cursor: pointer;",
	"}",
	"/*boton suscribirse*/",
	".yt-uix-button-subscribe-branded {",
	"background: no-repeat url(https://i.imgur.com/czxoQeW.png) 0px -175px !important;",
	"    height: 25px;",
	"}",
	".subscribe-label {",
	"	color: #994800 !important;",
	"    font-family: arial, sans-serif !important;",
	"	font-size: 12px !important;",
	"    font-weight: bold !important;",
	"}",
	".yt-uix-button-subscribe-branded::before {display: none}"
].join("\n");
if (typeof GM_addStyle != "undefined") {
	GM_addStyle(css);
} else if (typeof PRO_addStyle != "undefined") {
	PRO_addStyle(css);
} else if (typeof addStyle != "undefined") {
	addStyle(css);
} else {
	var node = document.createElement("style");
	node.type = "text/css";
	node.appendChild(document.createTextNode(css));
	var heads = document.getElementsByTagName("head");
	if (heads.length > 0) {
		heads[0].appendChild(node);
	} else {
		// no head yet, stick it whereever
		document.documentElement.appendChild(node);
	}
}
})();