fade nft user tweets

fades tweets by nft pfps

  1. // ==UserScript==
  2. // @name fade nft user tweets
  3. // @namespace http://tampermonkey.net/
  4. // @version 0.0001
  5. // @description fades tweets by nft pfps
  6. // @author @tigerstyping
  7. // @match https://twitter.com/*
  8. // @icon https://www.google.com/s2/favicons?domain=twitter.com
  9. // @grant none
  10. // ==/UserScript==
  11. (function() {
  12. 'use strict';
  13. setInterval(() => {
  14. let allNFTPics = [...document.querySelectorAll("*")].filter(element => element.style.clipPath.includes("hex-hw-shapeclip-clipconfig"));
  15. allNFTPics.forEach((element) => {
  16. try {
  17. let parentTweet = element.closest("article");
  18. if (parentTweet.getAttribute("NFTMuted") !== true) {
  19. parentTweet.style.opacity = "25%";
  20. parentTweet.setAttribute("NFTMuted", true);
  21. }
  22. } catch(error) {
  23. if(error.instanceOf(TypeError)) {
  24. void(0);
  25. } else {
  26. throw error;
  27. }
  28. }
  29. });}, 2500);
  30. })();

QingJ © 2025

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