VAR(BrowserType) Always reports Netscape?

joejubee
Community Member Posts: 323 ✶ Headliner ✶
Comments
-
-
Although browser detection is not recommended (feature detection is more accurate) I found this gem in Stack Overflow by a poster named kennebec. I think you'll be able to use this for whatever you're looking to do. Hope it helps.
Darrel -
@joejubee - Would you be able to provide the files that is always reporting Netscape to our support team? I'd like them to take a look and make sure you haven't stumbled across a bug. In theory the BrowserType variable should be reporting back the names of each browser. You can submit a support ticket by using the button under the active users groups or by following this link: http://trivantis.com/contact-support
-
-
-
Would you be able to provide the files that is always reporting Netscape to our support team? I’d like them to take a look and make sure you haven’t stumbled across a bug. In theory the BrowserType variable should be reporting back the names of each browser. You can submit a support ticket by using the button under the active users groups or by following this link: http://trivantis.com/contact-support
As my blog (linked above) explains, BrowserType simple displays the value of navigator.appName variable. The returned value varies from different browsers:
IE11, Firefox, Chrome and Safari return "Netscape"
IE 10 and earlier versions return "Microsoft Internet Explorer"
Opera returns "Opera"
Categories
- 35.9K All Categories
- 109 ✫ Announcements
- 33.1K Lectora®
- 31.1K Lectora Discussions
- 29K Lectora Desktop
- 2K Lectora Online
- 2K Lectora Feature Requests
- 71 Lectora User Groups
- 36 Lectora Accessibility User Group (LAUG)
- 25 ELB Learning Content
- 25 ELB Learning Content Discussions
- 329 CenarioVR®
- 196 CenarioVR Discussions
- 133 CenarioVR Feature Requests
- 42 Rockstar Learning Platform®
- 39 Rockstar Learning Platform Discussions
- 108 CourseMill®
- 108 CourseMill Discussions
- 47 ReviewLink®
- 47 ReviewLink Discussions
- 7 The Training Arcade®
- 7 The Training Arcade Discussions
- 936 All Things eLearning
- 37 eLearning Development
- 546 Learning Management System (LMS) Integration
- 333 Web Accessibility
- 1.2K ♪ The Green Room
- 9 Additional Learning Products