Skip to content
0
  • Home
  • Piero Bosio
  • Blog
  • World
  • Fediverso
  • News
  • Categories
  • Old Web Site
  • Recent
  • Popular
  • Tags
  • Users
  • Home
  • Piero Bosio
  • Blog
  • World
  • Fediverso
  • News
  • Categories
  • Old Web Site
  • Recent
  • Popular
  • Tags
  • Users
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

Piero Bosio Social Web Site Personale Logo Fediverso

Social Forum federato con il resto del mondo. Non contano le istanze, contano le persone
jpoesen@social.jpoesen.comundefined

jpoesen | 🇪🇺 | 🏳️‍🌈

@jpoesen@social.jpoesen.com
About
Posts
1
Topics
0
Shares
0
Groups
0
Followers
0
Following
0

View Original

Posts

Recent Best Controversial

  • Is there any way on Mastodon to automatically filter out image posts with no alt text?
    jpoesen@social.jpoesen.comundefined jpoesen@social.jpoesen.com

    @cryptids I don't think so, but an alternative solution is to use a browser extension like TamperMonkey that lets you inject css and/or javascript into any site.

    If you were to set up a basic TamperMonkey script for the site(s) in question, the following will hide every post that has an image without alt text, or no alt attribute at all.

    ```
    GM_addStyle('
    article:has(img[alt=""]),
    article:has(img:not([alt])) {
    display: none;
    }
    ');
    ```

    See also: https://www.freecodecamp.org/news/customize-website-experience-with-tampermonkey/

    Uncategorized
  • 1 / 1
  • Login

  • Login or register to search.
  • First post
    Last post