Skip to content

Instantly share code, notes, and snippets.

@nycki93
Last active February 17, 2026 21:45
Show Gist options
  • Select an option

  • Save nycki93/79625cfb6d45fb35609e88d0b3c5f661 to your computer and use it in GitHub Desktop.

Select an option

Save nycki93/79625cfb6d45fb35609e88d0b3c5f661 to your computer and use it in GitHub Desktop.
// ==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