-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
www.vw.ca - site is not usable #78042
Comments
The message sent is <div
id="vwaUnsupportedBrowserNotification"
data-heading="Votre navigateur n'est pas supporté. Afin d'optimiser votre expérience sur le site ainsi que la rapidité et la sécurité, prenez le temps de mettre à jour votre navigateur.<br>
"
data-text="<p>S'il vous plaît, pensez à mettre à jour votre navigateur.</p>
"
>
<div id="vwaUBNHitarea"></div>
<div class="vwaUBNModal">
<div class="vwaUBNModalInner"></div>
</div>
<div id="vwaUBNCloseButton"></div>
</div> They are using a script the support browser matrix is // browser matrix as defined in https://sso.volkswagen.de/bctwiki/display/FEDEVRO/NGW+D6+Browser+Matrix
var browserMatrix = {
safari: '11',
chrome: '68',
firefox: '61',
msie: '17', // all IE are outdated
msedge: '17',
opera: '55',
samsungBrowser: '7.2'
};
var isUnsupportedBrowser = bowser.isUnsupportedBrowser(
browserMatrix,
true
); The script is using the bowser library /*!
* Bowser - a browser detector
* https://github.com/ded/bowser
* MIT License | (c) Dustin Diaz 2015
*/ which correctly identifies Firefox on iOS
What is happening is that Firefox on iOS has currently the version number 34, because Firefox on iOS can NOT use Gecko. All browsers are forced to use WebKitWebView for rendering websites. So the site correctly identifies Firefox but fails to identifies that this is Firefox on iOS. They think it's Firefox on Android. They do not use all the information that is sent by Bowser. The user agent string has the following shape.
This is an easy fix. And we can fix it with a site intervention too. |
This might be a long stretch, but maybe @elgohr can help us find the right person at Volkswagen Canada, so they can fix their user agent detection matrix to take into account Firefox on iOS as described above. |
See the thread on twitter too. |
I was able to reproduce the issue on my iPad. If I request "Mobile Site", the message is not displayed. Behavior not encountered on Chrome. Note: Could be related to mozilla-mobile/firefox-ios#9150 Tested with: Reopening the issue for further investigation. [inv_26/2022] |
URL: https://www.vw.ca/fr.html
Browser / Version: Firefox iOS 34.1
Operating System: iOS 14.6
Tested Another Browser: Yes Safari
Problem type: Site is not usable
Description: Browser unsupported
Steps to Reproduce:
Going to https://www.vw.ca/
Expected
Access to the site
Actual
Message saying Firefox is not supported
View the screenshot
Browser Configuration
From webcompat.com with ❤️
The text was updated successfully, but these errors were encountered: