Interaction with Extension

When someone donated bits for example, and a message would turn up saying:

“ChatCatdonated 12 bits”

Would it be possible to interact with the message? Like just clicking on them what could start a little animation.

Or is it possible to do this in a panel?

Click on the message in chat? No.

An Extension cannot listen to “click on chat” events.

If a message appears in the extension? Yes.

As the Extension can listen to clicks in the extension

Is it possible in a Panel?

Any extension has a “webpage” and that “webpage” can have click events on it.

You just cannot listen to “clicks” on chat