you can get it here.
other changes:
- fixed the 'bug' by identifying the image in the first double-nested
divafter aheadertag, which happens to be the user profile banner. from my testing, this does not seem to break anything else. if there is, we'll be happy to update it. - actually, we debated narrowing the selector even further by restricting it to
header:first-of-type, however, without the narrowing, it actually also fixes it for profile pop-ups... so we just left it as-is for now. - extended to include
.object-scaled-downas well, since i found a number of images like this without alt text that weren't included in.object-coverhighlights. - extended to include lack of an alt text tag altogether. however, some people intentionally omit this for idk other semantic reasons, so add/remove that as you see fit.
- extended (optionally) to include ALL
co-proseimages with empty or omitted alt tags. this may be annoying for certain CSS crimes, so it is off by default. - added an optional variable if the user wants a border around the posting box, as well as options to style it.
- differentiated border within the posting box and those on the dash. just so it's more !!! when making a post vs. browsing cohost with all the posts without alt text.
browser support note: this uses the relatively new :where(), :has(), and :is() CSS selectors, so if you use some kind of browser where these don't work (as long as you're up-to-date, you should be good). just in case, i've extended the original code in-place as a polyfill, then fixed the 'bug' by undoing its style.
note on support
this will probably break at some point. when it does, feel free to let us know and we'll fix it as soon as we're able. thanks!
