Last active
February 17, 2026 21:45
-
-
Save nycki93/79625cfb6d45fb35609e88d0b3c5f661 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // ==UserScript== | |
| // @name New Userscript | |
| // @namespace http://tampermonkey.net/ | |
| // @version 2026-02-17 | |
| // @description try to take over the world! | |
| // @author You | |
| // @match https://bsky.app/* | |
| // @icon https://www.google.com/s2/favicons?sz=64&domain=bsky.app | |
| // @grant none | |
| // ==/UserScript== | |
| (function() { | |
| 'use strict'; | |
| var intervalMs = 1000; | |
| function hidePostsWithRepliesDisabled() { | |
| var replyBtns = document.querySelectorAll('[aria-label^=Reply]'); | |
| replyBtns.forEach(function(el) { | |
| if (el.inatorChecked) return; | |
| el.inatorChecked = true; | |
| // check for opacity changes applied to this or a containing html element | |
| var isFaded = false; | |
| var node = el; | |
| for (var i = 0; i < 10; i++) { | |
| if (node.style.opacity || 1 < 1) { | |
| isFaded = true; | |
| break; | |
| } else { | |
| node = node.parentElement; | |
| } | |
| } | |
| if (isFaded) { | |
| var post = el.closest('[data-testid^=feedItem]'); | |
| if (!post) return; | |
| post.style.height = 0; | |
| } | |
| }); | |
| } | |
| function main() { | |
| hidePostsWithRepliesDisabled(); | |
| setTimeout(main, intervalMs); | |
| } | |
| setTimeout(main, intervalMs); | |
| })(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment