We had users that have to be set to “silenced” simply continue “harassing” by spamming reactions on other users.
There is no limit to the pettiness of some people, I guess.
It would make sense to me that when a user is silenced, it could not use reactions as well.
Hi my topic here might be of help. @Canapin shared code for hiding like button in a category if not part of a group. The Code might be able to be modified to use status of current user and if silenced to hide button.
Also recently found this Customization > Theme component you would just need to leave for the silenced user to TL0. Or fork it to target silenced users.
However I imagine you were trying the code snippet that @Canapin shared with me. I am not sure if there is an attribute for silence. However try targetting a group. You will need to use the Customization > Theme component that adds all groups current user is in as CSS targetable classes.
If your static test works. Create a group to add the toxic users to. You will maybe want to either use bookmarks(custom) or a scheduled post in a private moderator’s category to schedule a post to remind to remove or review removing the member from the toxic group used to hide likes.