A recent Mastodon update began penalizing images with alt text by including a Twitter-style, partially-obscuring label reading "ALT". This removes the label.
Mastodon remove alt button by mcclure
Details
Authormcclure
LicenseCC0 / public domain
Categorymastodon.social, octodon.social, tenforward.social
Created
Updated
Code size270 B
Code checksumd4e33beb
Statistics
Learn how we calculate statistics in the FAQ.
Failed to fetch stats.
Description
Notes
Thanks to Tavy.
According to reports this only works in Firefox if you enable ":has" in about:config.
Source code
/* ==UserStyle==
@name Mastodon remove alt penalty
@version 20230512.20.50
@namespace ?
==/UserStyle== */
@-moz-document regexp("https?:\\/\\/(octodon|mastodon|tenforward)\\.social\\/.*") {
.media-gallery__alt__label {
display:none
}
}