// ==UserScript== // @name X.com (Twitter) - Auto Show Sensitive Content // @namespace http://tampermonkey.net/ // @version 2.1 // @description X.com (Twitter) Auto Show Sensitive Content. You Don't Have To Click "Show" Button Anymore When Reading NSFW Tweets With Blur Alert. 推特自动显示色情暴力内容,不再被模糊化。 // @author Martin______X // @include https://x.com/* // @include https://twitter.com/* // @icon https://www.google.com/s2/favicons?sz=64&domain=twitter.com // @grant none // @license MIT // @downloadURL none // ==/UserScript== let $home_show_button = "css-175oi2r r-sdzlij r-1phboty r-rs99b7 r-lrvibr r-173mn98 r-1s2bzr4 r-15ysp7h r-4wgw6l r-3pj75a r-1loqt21 r-o7ynqc r-6416eg r-1ny4l3l"; let $media_show_button = "css-146c3p1 r-bcqeeo r-qvutc0 r-37j5jr r-a023e6 r-rjixqe r-16dba41 r-1loqt21 r-fdjqy7"; let $home_hide_button = "css-175oi2r r-sdzlij r-1phboty r-rs99b7 r-lrvibr r-15ysp7h r-4wgw6l r-3pj75a r-1loqt21 r-o7ynqc r-6416eg r-1ny4l3l"; const simpleClick = (async (button)=>{ button.click(); }); const nfswClickInterval = setInterval(() => { try{ //Counter let i = 0; //For Home & Profile--->Tweets let home_show_buttons = document.getElementsByClassName($home_show_button); //For Profile--->Media let media_show_buttons = document.getElementsByClassName($media_show_button); //Annoying Button let home_hide_buttons = document.getElementsByClassName($home_hide_button); //Attributes In Tabs let role = ""; let dir = ""; //Click The Show Button On Home & Profile Tweets for(i=0;i