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)
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)
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:
- Start Firefox with a fresh profile (or clear cookies)
- Visit https://www.pge.com/
- 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 anXat 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).
| Reporter | ||
Comment 1•1 month ago
|
||
Here's the DOM snippet (which is a direct child of the page's <body> element), copypasted from devtools, for reference.
| Reporter | ||
Comment 2•1 month ago
|
||
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.
| Reporter | ||
Comment 3•1 month ago
•
|
||
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.
Updated•1 month ago
|
| Reporter | ||
Updated•1 month ago
|
| Reporter | ||
Updated•1 month ago
|
Updated•1 month ago
|
Description
•