Greasy Fork

来自缓存

Greasy Fork is available in English.

Youtube Logo Changer Gift/Png/Webp

customize Your Youtube Logo To Something Cool

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Greasemonkey 油猴子Violentmonkey 暴力猴,才能安装此脚本。

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

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

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

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

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

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

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

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

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

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

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

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

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

// ==UserScript==
// @name          Youtube Logo Changer Gift/Png/Webp
// @description	  customize Your Youtube Logo To Something Cool
// @author        LGJA
// @license       MIT
// @match        https://*.youtube.com/*
// @match        https://*.youtube.com/watch?v=*
// @match        https://www.youtube.com/embed/*
// @match        *://www.youtube.com/watch?v=*
// @match        *://www.youtube.com
// @match        *://www.youtube.com/
// @match        *://www.youtube.com/watch*
// @match        /^http(s?)://[^/]*\.youtube(\.com)?(\.[a-z][a-z])?/.*$/
// @match        /^http(s?)://youtube(\.com)?(\.[a-z][a-z])?/.*$/
// @match        http://youtube.com/*
// @match        https://youtube.com/*
// @match        http://*.youtube.com/*
// @match        https://*.youtube.com/*
// @match        *://*.youtube.com/*
// @run-at        document-start
// @version       1
// @namespace http://greasyfork.icu/users/915881
// ==/UserScript==

/*  NOTE, READ THIS !!!!!!!!!!!!!!!!!
there is two option light and dark theme
size is width and height,
Content: url(\"*\")   --- change the star to ur url, remember not to delete the \ and "
*/
(function() {var css = [
	"#logo-container .logo,",
	"	.footer-logo-icon,",
	"	#logo-icon,",
	"	#logo-icon-container {",
	"        width: 100px !important;",
	"        height: 44px !important;",
	"        margin-left: 0px;",
	"        margin-right: 0px;",
	"		content: url(\"https://www.gstatic.com/youtube/img/promos/growth/e627e007b3838086012608ef9370c211889f46b95b2335af722b53a2e49a0cd6_122x56.webp\") !important;",
	"	}",
	"	html[dark] #logo-icon,",
	"	html[dark] #logo-icon-container {",
	"        width: 100px !important;",
	"        height: 44px !important;",
	"		content: url(\"https://www.gstatic.com/youtube/img/promos/growth/e627e007b3838086012608ef9370c211889f46b95b2335af722b53a2e49a0cd6_122x56.webp\") !important;",
	"	}"
	].join("\n");
	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);
	}
}
)();