Greasy Fork镜像 支持简体中文。

TwitterLogoChanger

Twitter logo update

  1. // ==UserScript==
  2. // @name TwitterLogoChanger
  3. // @version 1
  4. // @grant none
  5. // @include https://twitter.com/*
  6. // @description Twitter logo update
  7. // @namespace https://gf.qytechs.cn/users/1135520
  8. // ==/UserScript==
  9.  
  10. window.addEventListener('load', function() {
  11. // Get the Twitter logo element by aria-label attribute
  12. let logoElement = document.querySelector('a[aria-label="Twitter"]');
  13.  
  14. // Check if the logoElement is found
  15. if(logoElement){
  16. // Find the specific span that wraps the SVG
  17. let spanElement = logoElement.querySelector('span');
  18.  
  19. if(spanElement){
  20. // Add the text "уй" to the span
  21. spanElement.textContent = ' уй';
  22. }
  23. }
  24. }, false);

QingJ © 2025

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