nsc_Visitor.getBrowser()

Identify the visitor's browser name and version. Use result example: "Chrome 43"

Example

$(function() {
    // Adding the chat widget initialization event listener
    // Prior to this moment the nsc_Visitor object is absent in the scope
    $(document).on('netroxinit', function(event, data) {
        if (!data.real) { // Not a status change but initialization in any status during page loading
  		alert("Your browser: " + nsc_Visitor.getBrowser());
        }
    });
});

Demonstration of nsc_Visitor.getBrowser() through the Google Chrome developer tools console. Netrox SC live chat software.
Fig. 1 Demonstration of nsc_Visitor.getBrowser() through the
Google Chrome developer tools console

All rights reserved. Copyright © 2017 Netrox SC
Host CMS