How to not display certain users chat?

Hello - I’m trying to block my deepbot chat from showing on screen. I found this line of CSS code in this forum but I wasn’t able to make it work.

.chat_line[data-nick=“nick_to_ignore”] {
display: none;

Is the above correct?

That seems correct to me. You should try it out to be sure.

It didn’t work =[

I tried it with a variety of selectors (data-nick*= / data-nick~=)

I got it working
.chat_line[data-nick*=“botname”] {
display: none;

The letters in the nickname had to be lowercase or it didn’t work (my fault)

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.