Here’s a script you can add to Violentmonkey plugin for firefox to toggle visibility of bsky images without alttext.—
// ==UserScript==
// @name Bluesky ALT filter toggle
// @namespace http://tampermonkey.net/
// @version 1.1
// @match https://bsky.app/*
// @grant none
// @run-at document-idle
// ==/UserScript==
(function () {
const STYLE_ID = ‘alt-filter-style’;
const STORAGE_KEY = ‘bsky-alt-filter’;
const css = button[aria-label=""]:has(img[alt=""]) { display: none !important; };
function isEnabled() {
return localStorage.getItem(STORAGE_KEY) !== ‘off’;
}
function applyState(enabled) {
let el = document.getElementById(STYLE_ID);
if (enabled) {
if (!el) {
el = document.createElement(‘style’);
el.id = STYLE_ID;
document.head.appendChild(el);
}
el.textContent = css;
} else {
if (el) el.textContent = ”;
}
btn.textContent = enabled ? ‘🖼️ ALT only: ON’ : ‘🖼️ ALT only: OFF’;
btn.style.background = enabled ? ‘#1a8a1a’ : ‘#8a1a1a’;
}
const btn = document.createElement(‘button’);
btn.style.cssText = position: fixed; bottom: 20px; right: 20px; z-index: 99999; padding: 8px 12px; border-radius: 20px; border: none; color: white; font-size: 13px; font-weight: 600; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,0.3); font-family: system-ui, sans-serif; ;
btn.addEventListener(‘click’, () => {
const next = !isEnabled();
localStorage.setItem(STORAGE_KEY, next ? ‘on’ : ‘off’);
applyState(next);
});
function init() {
if (document.body) {
document.body.appendChild(btn);
applyState(isEnabled());
} else {
setTimeout(init, 300);
}
}
init();
})();
If you don’t care about the toggle, you can just add this filter to ublock-