您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
automatically show "sensitive" material on a Twitter user's media tab
当前为
// ==UserScript== // @name Automatically show sensitive material on Twitter Media Tab // @namespace http://tampermonkey.net/ // @version 2024-04-09 // @description automatically show "sensitive" material on a Twitter user's media tab // @author Jimmy Klont // @license MIT // @match https://twitter.com/* // @icon https://www.google.com/s2/favicons?sz=64&domain=twitter.com // @grant none // ==/UserScript== (function() { 'use strict'; (new MutationObserver(check)).observe(document, {childList: true, subtree: true}); function check(changes, observer) { const matches = document.querySelectorAll("span"); matches.forEach((element) => { if (element.innerHTML=="Show"){ element.click(); } }); } })();