Detecting the Edge Browser

mjennings
Community Contributor

So we have a browser check page (UAB Canvas Setup Guide) that we encourage our students and off campus faculty to use that will let them know if they have an appropriate browser for using Canvas. We do this primarily for our new students that do not have access to our Canvas system yet so that they can begin preparing before their first classes. However I am having issues with checking for the Edge browsers since they do not not seem to keep the user facing numbering and agent number consistent with each other. I was wondering if anyone might be able to clarify how Canvas is checking for this or if there is an easier way. I am including the .js file I am using. Please note that this is a modified version from a Blackboard administrator  so there is more that it is checking for than I "need" but it is nice to display this information as well.