Option for all links on other domains to open in new window



Firefox OS
4 years ago
4 years ago


(Reporter: Brendan Long, Unassigned)


Firefox Tracking Flags

(Not tracked)




4 years ago
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:25.0) Gecko/20100101 Firefox/25.0 (Beta/Release)
Build ID: 20131030131730

Steps to reproduce:

I'm working on converting a web application into a Firefox OS application, and the one problem I'm running into now is that a lot of links open external sites. In normal instances, opening new tabs is unnecessary, so I'm currently looking at using JavaScript to make links to other domains open in new windows, when the user agent says we're on Firefox OS.

I think this is likely to be common, so it would be nice if the app manifest could contain a list of domains, and link that's not in those domains would automatically open in the browser.

This would not only save developer effort, but also improve the user experience, since it would be impossible to accidentally miss an external link.

Actual results:

Have to manually tag all links to external websites.

Expected results:

The app manifest should have a way to do this automatically.
You need to log in before you can comment on or make changes to this bug.