Board Thread:Support Requests - Getting Technical/@comment-4347751-20160501205016

I'm trying to make a script that reminds a user that they should not add spoilers to an article. However, I only want this to run when the user is editing an article, and the date is Thursday. However, I can't seem to get the dating to work and figure out how I can the = the date to Thursday or the JS alternative, 4. I thought of maybe a function, but I'm not sure. And that's probably the wrong way to go about it anyway. The code I have is as goes. I've probably done something wrong, but does anybody have any idea? 