🎉 欢迎访问GreasyFork.Org 镜像站!本镜像站由公众号【爱吃馍】搭建,用于分享脚本。联系邮箱📮

Greasy fork 爱吃馍镜像

Justin Y. nizator

Turns everyone on Džůvtube to Justin Y.

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

🚀 安装遇到问题?关注公众号获取帮助

公众号二维码

扫码关注【爱吃馍】

回复【脚本】获取最新教程和防失联地址

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

ستحتاج إلى تثبيت إضافة مثل Stylus لتثبيت هذا النمط.

ستحتاج إلى تثبيت إضافة لإدارة أنماط المستخدم لتتمكن من تثبيت هذا النمط.

ستحتاج إلى تثبيت إضافة لإدارة أنماط المستخدم لتثبيت هذا النمط.

ستحتاج إلى تثبيت إضافة لإدارة أنماط المستخدم لتثبيت هذا النمط.

(لدي بالفعل مثبت أنماط للمستخدم، دعني أقم بتثبيته!)

🚀 安装遇到问题?关注公众号获取帮助

公众号二维码

扫码关注【爱吃馍】

回复【脚本】获取最新教程和防失联地址

// ==UserScript==
// @name          Justin Y. nizator
// @match *://youtube.*/*
// @description   Turns everyone on Džůvtube to Justin Y.
// @namespace ad48
// @author DDosSantoStm
// @version 0.69b
// @grant none
// @include       *://youtube.*/*
// @run-at        document-start
// ==/UserScript==
var lorename="Justin Y.";
var lorepic="https://yt3.ggpht.com/-5GchV8wK-aE/AAAAAAAAAAI/AAAAAAAAAAA/ojoZ46vXxcU/s100-mo-c-c0xffffffff-rj-k-no/photo.jpg";
var changenames=true;
  setInterval(function(){
   var h3s = document.body.getElementsByTagName("*");
    for(var i = 0; i < h3s.length; i++) {
      if(h3s[i].getAttribute("class")) {
        if(changenames && h3s[i].getAttribute("class")=="yt-user-info") {
          h3s[i].children[0].innerText=lorename;
        }
         if(changenames && h3s[i].getAttribute("class")=="yt-masthead-picker-name") {
          h3s[i].innerText=lorename;
        }
        if(h3s[i].getAttribute("class")=="appbar-content-hidable") {
          h3s[i].children[0].children[0].setAttribute("src",lorepic);
          if(changenames)
            {
            h3s[i].children[1].children[0].children[0].innerText=lorename;
            }
            }
        if(h3s[i].getAttribute("class")=="yt-thumb-clip" && h3s[i].parentNode && h3s[i].parentNode.parentNode && h3s[i].parentNode.parentNode.getAttribute("class")!=="video-thumb  yt-thumb yt-thumb-196") {
          h3s[i].children[0].setAttribute("src",lorepic);
        }
        if(h3s[i].getAttribute("class")=="branding-img-container") {
          h3s[i].children[0].setAttribute("src",lorepic);
        }
        if(h3s[i].getAttribute("class")=="channel-header-profile-image") {
          h3s[i].setAttribute("src",lorepic);
        }
       if(changenames && h3s[i].getAttribute("class")=="stat attribution" || h3s[i].getAttribute("class")=="qualified-channel-title-text" || ((h3s[i].getAttribute("class")=="yt-lockup-title" || h3s[i].getAttribute("class")=="yt-lockup-title ") && (h3s[i].parentNode && h3s[i].parentNode.parentNode && h3s[i].parentNode.parentNode.getAttribute("class")!=="yt-lockup-dismissable"))) {
          h3s[i].children[0].innerText=lorename;
        }
        if(changenames && (h3s[i].getAttribute("class")=="comment-renderer-header" && h3s[i].children[0].getAttribute("class")!=="comment-renderer-author-comment-badge") || h3s[i].getAttribute("class")=="comment-renderer-author-comment-badge") {
          h3s[i].children[0].innerText=lorename;
        }
      }
    }
   },360);