Board Thread:General Coding Help/@comment-9605025-20180428232938/@comment-27958705-20180430004554

Andrewds1021 #7 I think the missing connection for me was remembering that $ is a function, not some built-in syntax. it is function. as parameter it recieves another function, that will be called on document.ready event. so if ur function doesn't return function to bind to event, then $(fn) makes no sense. Andrewds1021 #7 The new bit is supposed to detect the "Create" button   if u talking about if (edit_buttons.firstElementChild.lastElementChild.innerHTML != "Create") then it is a bad detector. if u want to find "create page" button, it has createpage class. if u want to stick to ur solution, then use innerText at least, and say "good bye" to non-english wiki's :)