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();
}
});
}
})();