Gmail Message moved to trash notification

I have a line of code that I put into Chrome as a filter that eliminates that annoying Gmail pop up telling me that I have just moved a message to trash.

Is there a way I can use this in Brave also? I tried entering it as filter but there did not seem to be a way to save it.

TIA