您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Changes YouTube logo text to whatever is stored in the "text" variable
// ==UserScript== // @name Change_YouTube_Logo_Text // @namespace http://tampermonkey.net/ // @version 1.3 // @description Changes YouTube logo text to whatever is stored in the "text" variable // @author David Balian // @match https://www.youtube.com/* // @icon https://cdn-icons-png.flaticon.com/512/1384/1384060.png // @grant none // ==/UserScript== (function() { 'use strict'; //CHANGE THE TEXT BELOW let text = 'David'; let replacement = document.getElementById("logo"); replacement.removeAttribute('id'); replacement.innerHTML = `<a href="https://www.youtube.com/" style="text-decoration: none;"><div style="display:flex; justify-content:center; align-items:center;"><img src="https://cdn-icons-png.flaticon.com/32/1384/1384060.png" style="margin-left:10px;"/><h1 style="color:white; margin-left:4px;">${text}</h1></div></a>`; let useless = document.getElementById("logo-icon"); useless.remove(); })();