VAR(BrowserType) Always reports Netscape?

joejubee
joejubee Community Member Posts: 321 ✶ Headliner ✶
So, I'm using the VAR(BrowserType) action to try to capture and report on some of the browser types out there, but regardless of what browser I'm on, it always reports "Netscape"...

Is this something that I've done wrong on my end, or does this action just not work?

Thanks,

Joe

Comments

  • timk
    timk Community Member Posts: 1,176 ☆ Superstar ☆
    Hi,

    Sergeys blog post may help:

    http://trivantis.com/blog/browser-detection-lectora/

    Tim
  • joejubee
    joejubee Community Member Posts: 321 ✶ Headliner ✶
    Ok, that's helpful - with that I at least have the mobile/desktop reporting, but I'm really after discovering what browser they are using.
  • klaatu
    klaatu Community Member Posts: 988
    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
  • jvalley4735
    jvalley4735 Community Member Posts: 1,357
    @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
  • joejubee
    joejubee Community Member Posts: 321 ✶ Headliner ✶


    Thanks, man! That did it.

     
  • joejubee
    joejubee Community Member Posts: 321 ✶ Headliner ✶
    Here you go, Jennifer.
  • jvalley4735
    jvalley4735 Community Member Posts: 1,357
    I'll play around with the file and see what I figure out and if needed send it over to Support.  Thanks!
  • ssneg
    ssneg Community Member Posts: 1,466 ☆ Roadie ☆
    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"
Sign In or Register to comment.

So You Wanna Be An eLearning ROCKSTAR?

We're all fans of eLearning here! Want to become an eLearning ROCKSTAR? Just click on one of the buttons below to start your rocking journey!