Welcome to the forum!
I haven't seen the other topic yet, so I'll just reply here. I'd say you could use a filter for that. Whether there's one that does exactly that, I'm not sure. But you can fairly easily edit existing ones - less easily create new ones from scratch. Filters menu to explore existing filters. Filters menu > Filters Editor to edit exisint ones or create new.