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

www.band-aid.com - The Firefox browser is unsupported

Open webcompat-bot opened this issue 5 years ago • 7 comments

URL: https://www.band-aid.com/products/hydro-seal-wound-care/toe-blister-bandages-8-ct-one-size

Browser / Version: Firefox Mobile 86.0 Operating System: Android Tested Another Browser: No

Problem type: Something else Description: site says browser is unsupported Steps to Reproduce: Didn't notice any issues but there is large banner saying it's unsupported and suggesting using Chrome or Safari

View the screenshot Screenshot
Browser Configuration
  • gfx.webrender.all: false
  • gfx.webrender.blob-images: true
  • gfx.webrender.enabled: false
  • image.mem.shared: true
  • buildID: 20201225095506
  • channel: nightly
  • hasTouchScreen: true
  • mixed active content blocked: false
  • mixed passive content blocked: false
  • tracking content blocked: false

View console log messages

From webcompat.com with ❤️

webcompat-bot avatar Dec 27 '20 22:12 webcompat-bot

I was able to reproduce the issue. A banner is displayed in Nightly, with the message: "Sorry this browser is not supported.". The navigation on the website is not affected. Screenshot_1

Tested with: Browser / Version: Nightly 201227 (🦎86.0a1-20201225095506🦎)/Chrome 87.0.4280.101 Operating System: Huawei P10 (Android 9) - 1920x1080 pixels, 18.5:9 ratio (~432 ppi density)

@softvision-oana-arbuzov @cipriansv Could you please have a look at this?

softvision-raul-bucata avatar Dec 28 '20 12:12 softvision-raul-bucata

Thanks for the report.

I was indeed able to reproduce the issue. A banner stating that the Firefox browser is unsupported is displayed on the top of the page.

Tested with: Browser / Version: Firefox Nightly 201228(🦎 86.0a1-20201225095506), Chrome Mobile 87.0.4280.101 Operating System: OnePlus6 (Android 10) - 1080 x 2280 pixels (~402 ppi pixel density)

This is the web page displayed in Firefox Nightly:

image

And this is the web page displayed in Chrome:

image

Moving the issue to needsdiagnosis.

cipriansv avatar Dec 29 '20 08:12 cipriansv

This is the source of the message, in an inline script:

    "jjbosCustom": {
        "platformVersion": "7.x-2.19-p15",
        "browserMessageHeadline": "Sorry this browser is not supported.",
        "browserMessage": "You may experience unexpected behavior. Consider using latest \u003Ca href=\u0022https:\/\/www.google.com\/chrome\/\u0022 rel=\u0022external\u0022 target=\u0022_blank\u0022\u003EChrome\u003C\/a\u003E or \n\u003Ca href=\u0022https:\/\/support.apple.com\/downloads\/safari\u0022 rel=\u0022external\u0022 target=\u0022_blank\u0022\u003ESafari\u003C\/a\u003E, instead."
    },

It's shown in this script:

      var windowsVersionRejected = (ua.indexOf('NT') && (ua <= (/5[_.]1/)));
      var osMac = (navigator.appVersion.indexOf('Mac') && (ua <= (/10[_.]5/)));
      var osMacRejected = (osMac === true);
      var browserOtherRejected = (ua.match(/samsungbrowser/gi) !== null) || (ua.match(/edge/gi) !== null) || (ua.match(/yabrowser/gi) !== null) || bowser.opera || bowser.samsungBrowser || bowser.ucbrowser || bowser.msie || bowser.msedge;
      var browserSafariRejected = bowser.safari && !!osMacRejected;
      var browserChromeMacRejected = navigator.appVersion.indexOf('Mac') !== - 1 && !!osMacRejected;
      var browserFirefoxMacRejected = (ua.match(/firefox/gi) !== null) && !!osMacRejected;
      var browserAndroidRejected = bowser.android && !bowser.chrome;
      var iosVersionRejected = bowser.ios && bowser.version < 5 || bowser.safari && bowser.ios && bowser.version < 5;
      var windowsPhoneRejected = bowser.windowsphone && bowser.version <= 7.5;
      var mobileRejected = browserAndroidRejected || iosVersionRejected || windowsPhoneRejected;
      if (browserChromeMacRejected || browserFirefoxMacRejected || browserSafariRejected) {
        setupBanner();
      }
      if (browserOtherRejected) {
        setupBanner();
      } 
      else if (windowsVersionRejected) {
        setupBanner();
      } 
      else if (mobileRejected) {
        setupBanner();
      }

It hits the mobileRejected case, so it's this code:

      var browserAndroidRejected = bowser.android && !bowser.chrome;

So yes, they are intentionally displaying this for non-Chrome Android browsers.

wisniewskit avatar Jan 11 '21 19:01 wisniewskit

There is an email contact address on https://www.band-aid.com/contact-customer-care, might check out later.

reinhart1010 avatar Jun 23 '21 01:06 reinhart1010

Edit: This seems to be an online form. Moving to contactready.

reinhart1010 avatar Jun 23 '21 01:06 reinhart1010

Message sent using contact form

mozilla829 avatar Dec 20 '21 10:12 mozilla829

Quick update: the banner is still there, but contains no message:

Screenshot_1

Tested with:

Browser / Version: Firefox Nightly 102.0a1 (2015878443 -🦎102.0a1-20220503094208🦎) Operating System: Samsung A51 (Android 11) -1080 × 2400 pixels 20:9 aspect ratio (~405 ppi density) Operating System: Google Pixel 3 (Android 12) -1080 x 2160 pixels, 18:9 ratio (~443 ppi density)

[inv_18/2022]

softvision-raul-bucata avatar May 04 '22 13:05 softvision-raul-bucata