TwitterLogoChanger

Twitter logo update

// ==UserScript==
// @name     TwitterLogoChanger
// @version  1
// @grant    none
// @include  https://twitter.com/*
// @description Twitter logo update
// @namespace https://gf.qytechs.cn/users/1135520
// ==/UserScript==

window.addEventListener('load', function() {
    // Get the Twitter logo element by aria-label attribute
    let logoElement = document.querySelector('a[aria-label="Twitter"]');

    // Check if the logoElement is found
    if(logoElement){
        // Find the specific span that wraps the SVG
        let spanElement = logoElement.querySelector('span');

        if(spanElement){
            // Add the text "уй" to the span
            spanElement.textContent = ' уй';
        }
    }
}, false);

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址