@Olivier & Nicolas: yes it is the expected behavior, all _blank target
(and window.open'd "views") are opened inside the webapp and not
dispatched to the default browser,

An option is planned to do the opposite (have external URL open in the
webapp):

https://bugs.launchpad.net/ubuntu/+source/webbrowser-app/+bug/1548575

@Nicolas: you can definitely inject JS code from the container, I'll get
back to you with an example,

-- 
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/1556412

Title:
  webappUrlPatterns does not work on multiple "radiofrance" sites

Status in webbrowser-app package in Ubuntu:
  New

Bug description:
  Hi,

  I do not manage to confine my webapp on its site, the "--webappUrlPatterns" 
just seems to be ignored.
  I tested on Ubuntu 15.10 and on Mako (up-to-date rc-proposed).

  Test case 1 (working):
  Run "webapp-container --webappUrlPatterns=http://foo.org/* 
http://www.google.com/";
  → As expected, any link clicked on this page is opened in the Web browser (as 
no URL match the pattern)

  Test case 2 (failure):
  Run "webapp-container --webappUrlPatterns=http://foo.org/* 
http://www.fipradio.fr/player";
  → All URLs are opened in the webapp. I can go to twitter, facebook... 
anywhere.

  I have the same issue on other Radio France sites, like:
  * http://www.franceculture.fr/
  * http://www.mouv.fr/
  * http://www.francebleu.fr/

  Strangely enough, everything seems to work on:
  * http://www.francemusique.fr/
  * http://www.franceinter.fr/

  If it can help, I noticed strange things on http://www.franceinfo.fr/:
  At the bottom of the page, the Twitter, Facebook and Dailymotion links are 
opened in the webapp whereas the "radiofrance.fr" link is opened in the web 
browser.

  ProblemType: Bug
  DistroRelease: Ubuntu 15.10
  Package: webapp-container 0.23+15.10.20150929-0ubuntu1
  ProcVersionSignature: Ubuntu 4.2.0-34.39-generic 4.2.8-ckt4
  Uname: Linux 4.2.0-34-generic x86_64
  ApportVersion: 2.19.1-0ubuntu5
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Sat Mar 12 12:36:31 2016
  InstallationDate: Installed on 2015-10-19 (144 days ago)
  InstallationMedia: Ubuntu 15.10 "Wily Werewolf" - Alpha amd64 (20151017)
  SourcePackage: webbrowser-app
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/webbrowser-app/+bug/1556412/+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

Reply via email to