Would chat hiding program be illegal?

Hi, i dont want to interact with people anymore, nothing good comes of it. Would it be ok if i write a program in C# that renders like a black square over the champion select chat and types muteall automatically when entering a game?
Best New

We're testing a new feature that gives the option to view discussion comments in chronological order. Some testers have pointed out situations in which they feel a linear view could be helpful, so we'd like see how you guys make use of it.

Report as:
Offensive Spam Harassment Incorrect Board