web-bugs icon indicating copy to clipboard operation
web-bugs copied to clipboard

chatservice.icicibank.com - Unable to chat from icicibank.com in IE11

Open TheWebJustWorks opened this issue 12 years ago • 4 comments

URL: https://chatservice.icicibank.com/media/nri%20chat/icicibankwcdcapture.asp?CurURL=nriicicibank Browser / Version: IE 11.0 Operating System: Windows Problem type: Looks like the website has a bug. Site owner: No

Steps to Reproduce

  1. Navigate to: https://chatservice.icicibank.com/media/nri%20chat/icicibankwcdcapture.asp?CurURL=nriicicibank
  2. Fill in all the fields and click "Proceed to Chat"

Expected Behavior: chat window initiates Actual Behavior: 'browser not supported' message appears

TheWebJustWorks avatar Jul 14 '14 21:07 TheWebJustWorks

Error Browser (User Agent) Sniffing, no ie11

function Is() 
   {
        var agent = navigator.userAgent.toLowerCase();
        this.major = parseInt(navigator.appVersion);
        this.version=parseFloat(navigator.appVersion);
        this.ns  = ((agent.indexOf('mozilla')!=-1) && ((agent.indexOf('spoofer')==-1) && (agent.indexOf('compatible') == -1)));
        this.ns4 = (this.ns && (this.major >= 4));
        this.ns47 = (this.ns && (this.version == 4.7));
        this.ns61=(this.ns && (agent.indexOf("netscape6/6.1") != -1));
        this.ns62 = (this.ns && (agent.indexOf("netscape6/6.2") != -1));
        this.ns70 = (this.ns && (agent.indexOf("netscape/7") != -1));
        this.moz =  (this.ns && (agent.indexOf("rv:1.7") != -1));
        this.firefox = (this.ns &&  ( (agent.indexOf("firefox/2.") != -1) || (agent.indexOf("firefox/3.") != -1) || (agent.indexOf("firefox") != -1) )     );

        this.ie   = (agent.indexOf("msie") != -1);
        this.ie4  = (this.ie && (this.major = 4));
        this.ie5 = (this.ie && (agent.indexOf("msie 5.") != -1));
        this.ie6= (this.ie && (agent.indexOf("msie 6.") != -1));
        this.ie7= (this.ie && (agent.indexOf("msie 7.") != -1));
        this.ie8= (this.ie && (agent.indexOf("msie 8.") != -1));
        this.windows = (agent.indexOf("win") != -1);
        this.AOL=(agent.indexOf("aol") != -1);
        this.mac = (agent.indexOf("mac") != -1);
        this.winXP=(agent.indexOf("XP") != -1);

    }


    var is = new Is();

    function CheckBrowser()
    {

        if(self.name == "CustPage")
            return false;
        if(parent.name=="CustPage")
            return false;
        if(is.AOL)
            return window.setTimeout("Validate()", 20);

        if(is.windows) //check for windows 95 , 98 and NT
        {
            if(!is.winXP)
            {       
                if(is.ie5||is.ie6||is.ie7 || is.ie8 || is.ns47||is.ns61||is.ns62||is.ns70||is.ns71)
                    return window.setTimeout("Validate()", 20);
                else 
                {
                    //for browser not belonging to these categories
                    window.open("DoesnotSupport.htm",null,"left=50,top=50,width=880,height=518,location=no,menubar=no,resizable=no,scrollbars=yes,status=yes,toolbar=no,titlebar=no");  
                                return ;
                }
            }    
            else
            {   
                if(is.ie6)
                    return window.setTimeout("Validate()", 20);
                else
                {
                    //for browser not belonging to these categories
                            window.open("DoesnotSupport.htm",null,"left=50,top=50,width=880,height=518,location=no,menubar=no,resizable=no,scrollbars=yes,status=yes,toolbar=no,titlebar=no");        
                            return ;
                }
            }
        }
        else
        {
            if(is.mac)
                return window.setTimeout("Validate()", 20);
            else   //if OS is neither mac nor Win then chat will not be initiated.
            {
                window.open("DoesnotSupport.htm",null,"left=50,top=50,width=880,height=518,location=no,menubar=no,resizable=no,scrollbars=yes,status=yes,toolbar=no,titlebar=no");  
                return ;
            }
        }
    }   

bug

magsout avatar Jul 16 '14 11:07 magsout

Updating to the new IE11 user-agent string will fix this issue. See below for further detail on UA: Mozilla/5.0 (Windows NT 6.3; Trident/7.0; rv 11.0) like Gecko If you compare the new user-agent string to the one reported by earlier versions of IE • The compatible ("compatible") and browser ("MSIE") tokens have been removed. • The "like Gecko" token has been added (for consistency with other browsers). • The version of the browser is now reported by a new revision ("rv") token.

These changes help prevent IE11 Preview from being (incorrectly) identified as an earlier version. http://msdn.microsoft.com/library/ms537503.aspx

TheWebJustWorks avatar Jul 17 '14 17:07 TheWebJustWorks

What is the status for this bug?

karlcow avatar Sep 15 '15 05:09 karlcow

No longer able to navigate to the URL in repro steps. Closing bug.

TheWebJustWorks avatar Jul 15 '16 21:07 TheWebJustWorks