I'll preface this question by saying that I am really bad at javascript, I very recently started trying to learn some basic stuff, so no judgment please.

As the title suggests I'm trying to a add a really basic script that will run on a specific thread of the forum. To do it, I went to javascript management and a created a script that would run on all pages. Then I put this as the content: