Skip to content

Mastodon Media Description Checker by MagicLike

Imported and mirrored from https://codeberg.org/MagicLike/Mastodon-Media-Description-Checker/raw/branch/main/checker.user.css

Details

AuthorMagicLike

LicenseMIT

CategoryMastodon

Created

Updated

Size1.6 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

A small CSS snippet that adds a red border to the media of a post if there is no description.

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name           Mastodon Media Description Checker
@namespace      MagicLike
@version        1.0
@description    A small CSS snippet that adds a red border to the media of a post if there is no description.
@author         MagicLike <contact@magiclike.net> (https://magiclike.net), GunChleoc, Mayana, duncan, Curator
@homepageURL    https://codeberg.org/MagicLike/Mastodon-Media-Description-Checker
@supportURL     https://codeberg.org/MagicLike/Mastodon-Media-Description-Checker/issues
@license        MIT
==/UserStyle== */

@-moz-document domain("mstdn.social"),
domain("masto.ai"),
domain("mastodon.social"),
domain("mastodon.online"),
domain("mastodon.coffee"),
domain("brands.town"),
domain("social.vivaldi.net"),
domain("mastodon.art"),
domain("tech.lgbt"),
domain("mastodon.lol"),
domain("floss.social"),
domain("mas.to"),
domain("fosstodon.org"),
domain("meow.social"),
domain("indieweb.social"),
domain("catcatnya.com"),
domain("mastodon.scot"),
domain("astronomy.social"),
domain("octodon.social"),
domain("hessen.social"),
domain("chaos.social"),
domain("tilde.zone"),
domain("troet.cafe"),
domain("norden.social"),
domain("mastodon.world"),
domain("infosec.exchange"),
domain("mastodon.xyz"),
domain("social.tchncs.de"),
domain("ieji.de"),
url-prefix("mstdn"),
url-prefix("masto"),
url-prefix("mastodon") {

    .media-gallery__item-thumbnail img:not([alt]),
    .audio-player__canvas:not([title]),
    .video-player video:not([title]),
    .media-gallery__gifv video:not([title]) {
        content: "Media has no description";
        border: 4px dashed red;
        box-sizing: border-box;
    }
}

Reviews

No reviews yet.