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

my.primerica.com - Firefox is unsupported browser

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

URL: https://my.primerica.com

Browser / Version: Firefox 98.0 Operating System: Linux Fedora Tested Another Browser: Yes Chrome

Problem type: Site is not usable Description: Browser unsupported Steps to Reproduce: Access is blocked on firefox with a message saying to download Chrome / Edge / Safari

View the screenshot Screenshot
Browser Configuration
  • None

From webcompat.com with ❤️

webcompat-bot avatar Mar 26 '22 16:03 webcompat-bot

Thanks for the report, I was able to reproduce the issue. image

Note: The issue is not reproducible on Chrome.

Tested with: Browser / Version: Firefox Nightly 100.0a1 (2022-03-27), Firefox Release 98.0.2 Operating System: Windows 10 Pro

Moving to Needsdiagnosis for further investigation.

[qa_13/2022]

softvision-oana-arbuzov avatar Mar 28 '22 12:03 softvision-oana-arbuzov

The site is fully inaccessible from Japan in both Firefox and Safari.

❯ ping my.primerica.com
PING my.primerica.com (74.123.238.179): 56 data bytes
Request timeout for icmp_seq 0
Request timeout for icmp_seq 1
Request timeout for icmp_seq 2
Request timeout for icmp_seq 3
Request timeout for icmp_seq 4
Request timeout for icmp_seq 5
^C
--- my.primerica.com ping statistics ---
7 packets transmitted, 0 packets received, 100.0% packet loss

@denschub is it accessible for you?

karlcow avatar Mar 29 '22 02:03 karlcow

It seems it needs VPN pointing to USA/Canada, it does not work for Germany. So @ksy36 could you have a look over this?

[inv_13/2022]

softvision-oana-arbuzov avatar Mar 29 '22 11:03 softvision-oana-arbuzov

There is an expectation for Seamonkey/ to be present if Firefox/ is detected in the UA, otherwise unsupported message is displayed and /supportedBrowsers is added to the URI (https://my.primerica.com/beta/login/?sessionId=e6bb3534db8540cf94932828e1869343&sessionData=e6bb3534db8540cf94932828e1869343#/supportedBrowsers)

            var n, i = null === (n = navigator) || void 0 === n ? void 0 : n.userAgent, 
            o = (
                -1 !== i.indexOf("Chrome/") && i.indexOf("Chromium/"), 
                -1 !== i.indexOf("Safari/") && -1 === i.indexOf("Chrome/") && i.indexOf("Chromium/"),
                i.indexOf("Edg"),
                -1 !== i.indexOf("Firefox/") && -1 === i.indexOf("Seamonkey/")
                ), 
            a = -1 !== i.indexOf("Trident/") && (-1 !== i.indexOf("rv:") || -1 !== i.indexOf("MSIE")), 
            s = o || a;
            s && "SupportedBrowser" !== e.name ? r({
                name: "SupportedBrowser"
            }) : r()

Adding Seamonkey/ to the UA string allows to bypass the unsupported message. So the actual Seamonkey browser with this UA: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:68.0) Gecko/20100101 Firefox/68.0 SeaMonkey/2.53.10 won't get the message.

We should contact the site to see if there is a reason for not supporting Firefox.

ksy36 avatar Mar 30 '22 00:03 ksy36

Filed https://bugzilla.mozilla.org/show_bug.cgi?id=1784144

ksy36 avatar Aug 10 '22 21:08 ksy36

So the actual Seamonkey browser with this UA: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:68.0) Gecko/20100101 Firefox/68.0 SeaMonkey/2.53.10 won't get the message.

Just looked at it again and noticed that they have non-camel-cased Seamonkey in i.indexOf("Seamonkey/"), while the actual SeaMonkey browser has a camel cased string, i.e. SeaMonkey:

Mozilla/5.0 (Windows NT 6.1; WOW64; rv:68.0) Gecko/20100101 Firefox/68.0 SeaMonkey/2.53.10

So this is a typo and while adding Seamonkey to the UA allows to bypass the unsupported message, the actual SeaMonkey browser does get the unsupported message as well since it has SeaMonkey in the UA.

ksy36 avatar Aug 13 '22 03:08 ksy36

Filed https://bugzilla.mozilla.org/show_bug.cgi?id=1784144

I created a bugzilla account on there purely to say that I have access to a Primerica account with investments and the like, and I'd be happy to test out the proposed useragent override in order to get it shipped within Firefox proper, but it says I'm not allowed to comment on closed bugzilla issues...

NintendoManiac64 avatar Nov 14 '23 01:11 NintendoManiac64