Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    isc.Browser.isSafari returns true for Chrome

    Hi,

    I am trying to detect whether the current browser is Safari in order to address a Safari-specific issue. I noticed that isc.Browser.isSafari returns true when using Chrome. Is this a bug?

    So far, I have been using isc.Browser.isSafari && !isc.Browser.isChrome to properly detect it; is there a better way of doing this within SmartClient?
    I realize there are other ways of properly detecting browser types, but I am wondering if there is any built-in support for this in SmartClient (maybe there is a better way that I am not aware of).

    I am using SmartClient Version: v9.1p_2015-09-16/Pro Development Only (built 2015-09-16).

    #2
    These are internal, undocumented flags - don't use them. If you have some reason to sniff browsers, you'll need to have your own code for that.

    Comment


      #3
      Alright, thank you for the information.

      Comment

      Working...
      X