Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't open a PWA from another PWA when check "Open out-of-scope URLs in a default browser" #496

Open
xmha97 opened this issue May 4, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@xmha97
Copy link
Contributor

xmha97 commented May 4, 2024

Hi, dear @filips123
I installed GitHub.com, X.com, and Instagram.com as PWAs.
On GitHub PWA I checked "Open out-of-scope URLs in a default browser".
When I click on X and Instagram links on GitHub PWA, I want it to open as a PWA instead of opening to the default browser.
I installed the "Progressive Web Apps for Firefox" extension on GitHub PWA for this and check "Enable automatic web app launching".
In this case, X and Instagram URLs are also opened in the default browser in addition to out-of-scope URLs.
If I uncheck "Open out-of-scope URLs in a default browser" on GitHub PWA, I can open X and Instagram URLs as PWA.
But I don't want the out-of-scope URLs to open in the PWA and I want it to open in the default browser.
Please help me.
Sorry for my bad English.

@xmha97 xmha97 added the bug Something isn't working label May 4, 2024
@filips123
Copy link
Owner

You can add Twitter/X and Instagram to a list of domains always allowed to be opened in the app browser. So, something like:

twitter.com,x.com,instagram.com,github.com

This way, links to Twitter and Instagram won't be forced to the default browser, so the extension will be able to open them in the PWA, while other links should open in the default browser as normal.

@filips123
Copy link
Owner

Also, you will probably have to reinstall Twitter/X as they changed the main URL to https://x.com, and this breaks existing PWA installations.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants