Open Bug 2008115 Opened 1 month ago Updated 1 month ago

pge.com - shows modal popup for Firefox users: "Your current browser may not give you the best experience."

Categories

(Web Compatibility :: Site Reports, defect, P2)

Tracking

(Webcompat Priority:P2, Webcompat Score:5)

Webcompat Priority P2
Webcompat Score 5

People

(Reporter: dholbert, Unassigned)

References

(Depends on 1 open bug, )

Details

(Keywords: webcompat:needs-diagnosis, webcompat:site-report)

User Story

user-impact-score:200
platform:windows,mac,linux,android
impact:unsupported-warning
configuration:general
affects:all
branch:release
diagnosis-team:webcompat

Attachments

(3 files)

Attached image screenshot

PG&E is warning Firefox users that their browser is unsupported again (as they were previously in bug 1898899, though they seemed to stop for a while).

See attached screenshot.

STR:

  1. Start Firefox with a fresh profile (or clear cookies)
  2. Visit https://www.pge.com/
  3. Wait a second or two after pageload.

ACTUAL RESULTS:
This modal popup appears:

Your current browser may not give you the best experience.

We test our site on the browser versions used by 97% of our customers. It doesn’t look like the one you’re using has been tested. Please use a browser listed at pge.com/browsers.
The user has to click an X at the top right of this dialog in order to proceed to use the site.

EXPECTED RESULTS:
No such modal popup.

I can reproduce in current release 146.0 (64-bit) on Ubuntu Linux, Win11, and macOS Tahoe.
I can also reproduce in Nightly 148.0a1 (only tested on Ubuntu, but I assume all platforms are affected).

Here's the DOM snippet (which is a direct child of the page's <body> element), copypasted from devtools, for reference.

Here's the JS snippet that injects the modal (based on doing a ctrl+shift+f in devtools debugger for "current browser")

This is identified as "source126" (with some random 3-digit number) so I think it's a bit of dynamically injected JS rather than a script that's available at some public URL.

The Chrome Mask extension (activated for https://www.pge.com/) does not help here, but the "User Agent Switcher" extension does help (spoofing as Chrome 143 on Windows).

So this appears to be UA-sniffing, but it might be done on a script or iframe that's got a different origin from www.pge.com.

User Story: (updated)
Webcompat Score: --- → 1
Severity: -- → S3
User Story: (updated)
Webcompat Priority: --- → P2
Webcompat Score: 1 → 6
Priority: -- → P2
Webcompat Score: 6 → 5
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: