It doesn’t appear that the content of Oneboxes is run through the watched words filter.
On our forum, we’ve had a number of people link to the following comic, for which the comic itself is innocuous, but the alt text has a swear word. The onebox picks up the alt text and displays it, however it isn’t flagged by the watched words feature. It would seem like the watched words filter should also check any text from the one box.
I agree this is an interesting edge case, but how far down the rabbit hole does one go, the image could have a swear word in it.
I wonder if it makes sense just to rely on flagging for cases like this.
I agree it is an edge case. My assumption was that it wouldn’t be hard to get the onebox text and then run the watched words check, whereas running on OCR on images wouldn’t be practical.
Another quick approach, for this unique edge case is to simply filter or remove the
A quick JS filter is easier to implement, I think, for sites which have strict edge case requirements for filtering the
title attribute for an IMG HTML element:
(image from the originating website)