Closed Bug 1754180 Opened 3 years ago Closed 3 years ago

Add mobile Chrome UA spoof for nordjyske.dk

Categories

(Web Compatibility :: Interventions, enhancement)

enhancement

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: denschub, Unassigned)

References

Details

The site doesn't provide a mobile layout to Firefox for Android. It works fine with a Chrome UA. Unfortunately, it looks like we have to replace the entire UA string, because partial replacements or additions result in error messages like

Uncaught TypeError: can't access property 1, /AppleWebKit\/(\d+)/.exec(...) is null

It turns out that they are looking for a high-end Android device in the UA in addition to Chrome, so I'll use "Pixel 4" instead of a Nexus device, as we tend to default to in this kind of case.

Patch shipping in Firefox 99 as part of the addon's v31 in bug 1752986.

Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
See Also: → 1812585
You need to log in before you can comment on or make changes to this bug.