← Back to team overview

ubuntu-webapps-bugs team mailing list archive

[Bug 1245465] Re: should offer a commandline option to override the user agent in webapp mode

 

This bug was fixed in the package unity-webapps-qml -
0.1+14.10.20140506.1-0ubuntu1

---------------
unity-webapps-qml (0.1+14.10.20140506.1-0ubuntu1) utopic; urgency=low

  [ Ubuntu daily release ]
  * New rebuild forced

  [ Alexandre Abreu ]
  * Add UA override capabilities to webapps; clean some code and tests,
    (LP: #1245465)
 -- Ubuntu daily release <ps-jenkins@xxxxxxxxxxxxxxxxxxx>   Tue, 06 May 2014 17:27:01 +0000

** Changed in: unity-webapps-qml (Ubuntu)
       Status: In Progress => Fix Released

** Changed in: webbrowser-app (Ubuntu)
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
WebApps bug tracking, which is subscribed to webbrowser-app.
https://bugs.launchpad.net/bugs/1245465

Title:
  should offer a commandline option to override the user agent in webapp
  mode

Status in Web Browser App:
  In Progress
Status in “unity-webapps-qml” package in Ubuntu:
  Fix Released
Status in “webbrowser-app” package in Ubuntu:
  Fix Released

Bug description:
  instead of having to add each and every url pattern to ua-
  overrides.js, it would be nice if webbrowser-app could offer a
  commandline option to override the user agent string when in webapp
  mode ...

  while the override file is nice and all, it will not help for released
  images since we can not retroactively add overrides to the file, so
  webapps someone writes will only work from a specific release on if
  the site they use needs a specific UA string. while getting the
  override into the file eventually makes sense and should be the
  default, being able to override it in the Exec call of the .desktop
  file would make it possible to run the specific webapp in releases
  that dont ship the matching pattern in the .js file yet.

  while we have possibilities to override the setting with a qml wrapper
  like in http://daker.me/2013/10/package-your-webapp-for-ubuntu-
  touch.html this only works suboptimal (the site itself works, but
  opening external links in the browser is not supported, there is a
  toolbar in the app but it is not easily possible to have navigational
  elements in there without a lot extra effort etc etc.)

  so please consider adding something like a --ua-override= commandline
  option for the webapp mode.

To manage notifications about this bug go to:
https://bugs.launchpad.net/webbrowser-app/+bug/1245465/+subscriptions