Chrome extension that sends a message every a specific period of time

No, it’s because you are simulating a click jacking attack and doing something nefarious.

If you want to send to chat, make a connection to Twitch Chat via Web Sockets with the relevant chat_login scope and actually send to chat, don’t simulate events on the UI