manifest-incubations icon indicating copy to clipboard operation
manifest-incubations copied to clipboard

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

Open fortheday001 opened this issue 1 year ago • 1 comments

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.

fortheday001 avatar Jun 01 '23 08:06 fortheday001

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.

michaelwasserman avatar Sep 01 '23 22:09 michaelwasserman