Wow, thanks to both of you.
I did have the code to detect the browser, the problem I was having was that the LMS doesn’t have a catch all variable, even in SCORM2004. So, I hid some unweighted questions in the quiz and based on the mobile browser detection, it would force a true answer. I can actually track questions in the reports, so that was my only way to be able to record if the user was using a mobile device. At this point. I needed something in a hurry.
My next test will be, what if the course doesn’t already have a quiz?