Closed Bug 1008885 Opened 8 years ago Closed 7 years ago

scotiabank.com sends desktop site to Firefox OS

Categories

(Web Compatibility :: Mobile, defect)

All
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: hsteen, Unassigned, Mentored)

References

()

Details

(Whiteboard: [country-ca] [clientsniff] [contactready])

Attachments

(1 file)

Attached image comparison screenshot
This site intends to send mobile browsers to a mobile site, but doesn't know that Firefox OS devices are smartphones. Hence the browser on Firefox OS phones get desktop content instead of mobile.

This JavaScript is responsible for the browser detection:


		  if ((navigator.userAgent.match(/Mobile Safari|Android|iPhone|iPod|BB10|BlackBerry/i))) {
			 location.replace("http://www.scotiabank.com/ca/en/0,0,2,00.html");
		  }
This is a Canadian bank, right? Seems they only have a mobile site for Canadian customers or something - the "gls" in some URLs seems to be "global site" and that "mobile browser" sniffing takes you back to the Canadian section..
Whiteboard: [country-pe] [clientsniff] [contactready] [mentor=hsteen] → [country-ca] [clientsniff] [contactready] [mentor=hsteen]
Mike mentioned that he has a friend who's starting at Scotiabank in a few weeks that should be able to help with a fix.
Flags: needinfo?(mhoye)
Mentor: hsteen
Flags: needinfo?(mhoye)
Whiteboard: [country-ca] [clientsniff] [contactready] [mentor=hsteen] → [country-ca] [clientsniff] [contactready]
I will close this as FIXED.
The main scotiabank Web site is a kind of router for all sub-local sites. This router is perfectly compatible with Firefox on Smartphones.

Most of the sites which are behind this router with different domain names are not sending a content which adjust to small screens on Firefox OS.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Product: Tech Evangelism → Web Compatibility
You need to log in before you can comment on or make changes to this bug.