[webapp-container] Can't decouple "like Android" and "Mobile" in user agent
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
webbrowser-app (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Here's my use case:
1. I have a reddit webapp using webapp-container.
2. I want to avoid reddit's popup box suggesting I install the Android app (reddit does this based on the presence of the Android user agent keyword).
3. I want to be convergent and have reddit feed my webapp mobile or desktop content as appropriate (reddit will do this for us based on the presence of the Mobile user agent keyword).
As of today, #2 makes me want to pass a --user-agent-string without the "Android" keyword. But #3 makes me want to allow webapp-container to use its default dynamic user-agent logic, inserting Mobile or not as needed.
As a soft #4, I'd also like to have the various versions in the user agent string be accurate. Which is hard to do when passing a manual --user-
What would be the best solution to my problem?
My simple proposal would be a new flag that says --no-android-
summary: |
- [webapp-container] No way to allow dynamic user-agent content with - --user-agent-string + [webapp-container] Can't decouple "like Android" and "Mobile" in user + agent |