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

I am just starting out learning how to use JS. I have written a bit for personal use here. I would love to get some feedback. Are there any formatting conventions I should use? Am I doing things too inefficiently? Those are the types of questions I am interested in getting answers to.

Just a quick rundown of the JS. It is supposed to do two things. First, detect for Internet Explorer (or someone pretending to be IE) and, if detected, load CSS to correct some display issues. I know people always say to use feature detection but I don't really care if the browser wants to use CSS it doesn't need to. I don't use CSS feature detection because it cannot detect the type of lack of support I am correcting for. Second is a script meant for wikis that have Semantic Forms enabled (of course this is a very small number of wikis). It is supposed to move the "Edit with form" option to the main edit button and move the option that was there to the top of the dropdown list.

Thanks in advance. 