Mastodon feature request: a user-selected list of domains from which to suppress images when showing link previews.
I would put all news sites in that list.
Discussion
Mastodon feature request: a user-selected list of domains from which to suppress images when showing link previews.
I would put all news sites in that list.
@dalias sounds very similar to ublock but since preview generation runs server side it can't be modified. upsetting
Something like this might work in ublock origin? (untested)
```
a[href*="theregister.com"] .status-card__image,
a[href*="example.net"] .status-card__image {
display: none;
}
```
This would hide the status card only if the href of the anchor that surrounds it contains "theregister.com" etc
Update: it does work, but I had the syntax wrong.
Ublock lines are more like this:
```
hachyderm.io##a[href*="theregister.com"] .status-card__image
```
@hipsterelectron @dalias you could hack something together technically to just hide the preview from being displayed, but yeah, no immediate drop-in fix
@riverpunk @dalias yeah i was thinking about that. providing a marker with the source domain in mastodon while rendering would definitely enable later client-side hacking. i don't think that has any chance of getting accepted upstream and they recently rewrote their entire rendering pipeline in typescript but it could be done in a fork