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 I use window.open to open a borderless window? #75

Open
fortheday001 opened this issue Jun 1, 2023 · 1 comment
Open

Can I use window.open to open a borderless window? #75

fortheday001 opened this issue Jun 1, 2023 · 1 comment

Comments

@fortheday001
Copy link

fortheday001 commented Jun 1, 2023

Can I use window.open to open a borderless window? like
window.open ("","","displayState=borderless")

If not, can this feature work someday? My company strongly needs this feature.

@michaelwasserman
Copy link

The explainer has a relevant section:

Opening a popup from a borderless PWA

  • Opening a popup to any other origin → The popup should NOT be in borderless mode (security risk if the following pop-up app would be malicious).
  • Opening a popup to itself (same origin) → The popup opens in borderless mode, because the app has already got the permission to run in borderless mode.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants