Automatically show sensitive material on Twitter Media Tab

automatically show "sensitive" material on a Twitter user's media tab

  1. // ==UserScript==
  2. // @name Automatically show sensitive material on Twitter Media Tab
  3. // @namespace http://tampermonkey.net/
  4. // @version 2024-04-09
  5. // @description automatically show "sensitive" material on a Twitter user's media tab
  6. // @author Jimmy Klont
  7. // @license MIT
  8. // @match https://twitter.com/*
  9. // @icon https://www.google.com/s2/favicons?sz=64&domain=twitter.com
  10. // @grant none
  11. // ==/UserScript==
  12.  
  13. (function() {
  14. 'use strict';
  15.  
  16. (new MutationObserver(check)).observe(document, {childList: true, subtree: true});
  17.  
  18. function check(changes, observer) {
  19. const matches = document.querySelectorAll("span");
  20. matches.forEach((element) => {
  21. if (element.innerHTML=="Show"){
  22. element.click();
  23. }
  24. });
  25. }
  26. })();

QingJ © 2025

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