Giter VIP home page Giter VIP logo

Comments (4)

filips123 avatar filips123 commented on May 8, 2024 2

This will be available in the next release, but disabled by default. It can be enabled using firefoxpwa.openOutOfScopeInDefaultBrowser in about:config or "Open out of scope URLs in a default browser" in Firefox settings.

When URL that is out of PWA scope is opened, it will automatically open the default system browser and close PWA window. You can add a comma-separated list of domains where you don't want this behaviour in firefoxpwa.allowedDomains. I probably won't provide a default list of domains because that could be too much work. However, some URLs (non HTTP(S) URLs and restricted domains), will always be kept in the PWA browser, because otherwise some functionality of Firefox could be broken (for example, you wouldn't be able to open about: pages or install addons from https://addons.mozilla.org).

from pwasforfirefox.

filips123 avatar filips123 commented on May 8, 2024

Do you mean any link that is not in PWA scope or just links with target="_blank"? For the former, the problem with opening links in a default browser is that some websites rely on switching between origins (for example SSO login page on different domain), and because a default browser is completely independent browser, it would be hard to switch back to the PWA browser. This would mean any website with such requirements would not work. For the latter, it could work and I will probably implement an option in the future.

You can also use a custom "Open in Browser" widget (it is not added to titlebar by default but you can add it from the Customize page) to manually open the current page in a default browser.

from pwasforfirefox.

zakius avatar zakius commented on May 8, 2024

I am aware that some websites are broken by design, I guess these can be worked around with exception lists if needed, and this may not be the default behavior either to not make it too confusing for less technical users (if any decide to use this extension/project)

if it's possible to access certificate data by extensions you may also automatically add exceptions to all domains covered by current cert to make it a bit more automated and break less often

from pwasforfirefox.

PeterCxy avatar PeterCxy commented on May 8, 2024

Another (manual) workaround for this is to use something like the "Open With" plugin and use the right-click menu to manually send those links to the main browser.

from pwasforfirefox.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.