Public bug reported: 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-agent-string. What would be the best solution to my problem? My simple proposal would be a new flag that says --no-android-user-agent or something like that. But that's a bit grossly named. Maybe --pure- user-agent or --native-user-agent or something, which would use a pure Ubuntu user agent without "Android". ** Affects: webbrowser-app (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to webbrowser-app in Ubuntu. https://bugs.launchpad.net/bugs/1591303 Title: [webapp-container] No way to allow dynamic user-agent content with --user-agent-string Status in webbrowser-app package in Ubuntu: New 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-agent-string. What would be the best solution to my problem? My simple proposal would be a new flag that says --no-android-user- agent or something like that. But that's a bit grossly named. Maybe --pure-user-agent or --native-user-agent or something, which would use a pure Ubuntu user agent without "Android". To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/webbrowser-app/+bug/1591303/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp