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

locator.chase.com - ATM Branch Locator does not work

Open TheWebJustWorks opened this issue 12 years ago • 9 comments

URL: https://locator.chase.com 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://locator.chase.com
  2. Enter 98007 as ZIP code
  3. Hit Enter

Expected Behavior: nearest branch location populates Actual Behavior: The search does not focus on the 98007 area on the map. It shows the entire USA

TheWebJustWorks avatar Jul 14 '14 21:07 TheWebJustWorks

Interesting, it's working for me (even for the WA zip): chase

I wonder if anyone else can reproduce.

miketaylr avatar Jul 15 '14 22:07 miketaylr

Thanks for taking a look @miketaylr - do you know if your compatibility view settings are disabled? Chase.com is on our CV list and users will not see the issue if CV mode is enabled in their browser.

TheWebJustWorks avatar Jul 15 '14 23:07 TheWebJustWorks

Works for me, same result as @miketaylr. Console output shows the site is on the Microsoft CV list but it seems like it's mainly trying to fake out some browser sniffing.

dmethvin avatar Jul 16 '14 00:07 dmethvin

I can repro. I have to make sure CV list isn't checked. Tools, Compatibility View settings, and uncheck "use MS compatibility lists". Once that's unchecked, the issue repros. Looks like the site isn't recognizing IE11 correctly.

cew6992 avatar Jul 16 '14 03:07 cew6992

Without doing anything, I have the bug also like @cew6992 @TheWebJustWorks

bug

magsout avatar Jul 16 '14 11:07 magsout

Heh. IE11 gets "detected" as Mozilla in atlascompat.js:

Web.Browser._isMozilla = (typeof document.implementation != 'undefined') && (typeof document.implementation.createDocument != 'undefined') && (typeof HTMLDocument!='undefined');

Deja vu: http://hallvors.wordpress.com/2012/10/26/microsofts-skydrive-gun-meet-foot/

hallvors avatar Jul 16 '14 11:07 hallvors

(Detecting IE11 as Mozilla and applying all the old hacks is in fact necessary to make the page work.)

The VirtualEarth map had its own share of broken sniffing bugs back then - http://hallvors.wordpress.com/2008/08/20/ms-virtualearth-claims/ - hopefully improved by now. There's also the Ligeo.js file with for example the method

LigeoBrowserCompatability.isIe()

doing document.all detection. Which of these issues actually cause the problem I'm not sure, but when

LigeoAPI.getSearchResultsMap().bestFitCenterAndZoom()

runs the myLocations array is empty, so the code that was supposed to call addLocations() is presumably confused. LigeoAPI.configureResults() is not correct - sometimes the server sends code that overrides it and sometimes it doesn't.

hallvors avatar Jul 16 '14 12:07 hallvors

So this seems like faulty backend browser sniffing. In responses to certain browsers (where it works) there is a script block setting

LigeoAPI.configureResults = function(...){...

with code that calls addLocations() to set up the points on the map. Without this script in the response, the map will not have any locations (unsurprisingly).

All in all, it's rather confusing - I'm not entirely sure it's about backend sniffing, it might also be about some parameter not being sent in the request - but I've tried to compare them and it seems unlikely. Moving it to "contactready" anyway, I think it's worth nagging them now.

hallvors avatar Jul 19 '14 12:07 hallvors

Microsoft Edge is the default browser for Windows 10 and all efforts are focused on theWindows 10 Anniversary Update occurring on 8/2. As this issue doesn’t repro in IE11 and MS Edge, closing.

TheWebJustWorks avatar Jul 15 '16 21:07 TheWebJustWorks