brave-browser icon indicating copy to clipboard operation
brave-browser copied to clipboard

PWAs in Brave should parity PWAs in Chrome

Open Brave-Matt opened this issue 1 year ago • 4 comments
trafficstars

Description

At some point, PWA behavior between Chrome and Brave changed and they are no longer parity with one another. This is the case in a couple ways:

Create Shortcut =/= Install as app image I believe these options used to essentially do the same thing, however, Chrome now has both Create shortcut (which seems to create a shortcut on your [desktop] that points to the site) and Install page as app which installs the site as a PWA.

Chrome supports more sites While Brave does support this option for some sites but showing the Install as app icon in the address bar, Brave now supports far less sites than Chrome does with respect to PWAs, including popular/widely used ones like all the Google Services, as well as other sites one might expect support for (search engines like duckduckgo, Wikipedia, Steam, ChatGPT, Twitch, for example).

Open as window image While the Open as window option has been removed for both brave and Chrome — however, when a PWA is created and opened in Chrome, the site does in fact open in its own, separate window/instance. In Brave, the PWA just opens the site a new tab in the browser.

Steps to reproduce

N/A

Actual result

PWAs not supported for all sites or expected sites

Expected result

PWA should parity behavior with Chrome

Reproduces how often

Easily reproduced

Brave version (brave://version info)

v1.69.153

Channel information

  • [X] release (stable)
  • [X] beta
  • [X] nightly

Reproducibility

  • [ ] with Brave Shields disabled
  • [ ] with Brave Rewards disabled
  • [ ] in the latest version of Chrome

Miscellaneous information

https://community.brave.com/t/open-as-window-option-gone-aug-26th-2024/565232/12

Brave-Matt avatar Aug 27 '24 17:08 Brave-Matt

I'll give some details below, but big thing I wanted to point out on the PWA is that Brave only allows for some websites while chrome seems to allow for practically all.

Brave does allow PWA for only some sites.

These will have the install icon image in the search bar

But it doesn't allow on most.

For example, you can check https://www.perplexity.ai/ or https://calendar.google.com/ to which Brave won't have the install icon image in the search bar nor will it have it in the Save and Share menu

Example with Perplexity is below:

Brave

image

Chrome

image

-NOTE-

When this was first reported on Community, we didn't even have the install button, such as image available in the hamburger menu. It was only available via the search bar. It seems something has been triggered to where the sites that can be installed are showing up there.

However, there's still the disparity.

Example Websites Brave Can Currently Create PWA:

https://www.crunchyroll.com/ https://www.yahoo.com/ https://anix.to/home https://community.brave.com/ https://www.facebook.com/ https://twitter.com/home https://www.reddit.com/

Example Websites Brave Can't Create PWA but Chrome can:

https://www.perplexity.ai/ https://www.wellsfargo.com/ https://www.icloud.com/ https://moviesjoy.is/ https://watchmovies.nz/ https://duckduckgo.com/ https://www.cms.gov/

Can be replicated on Release, Beta, and Nightly

Saoiray avatar Aug 27 '24 18:08 Saoiray

UPDATE

I'm still not seeing any changes for PWA, which is the main concern for this issue. However, regarding the other request that people had, which Matt mentioned, about the Open as window button when creating a shortcut, there is a workaround.

To bring back the Open as window option, go to brave://flags and set Shortcuts not Apps to Disabled. Once you do this, the option will appear again, as shown below:

image

Saoiray avatar Aug 28 '24 00:08 Saoiray

Basically the issue is that Brave can't allow user to create PWA for any site excepts for those sites that has PWA enabled.

CXwudi avatar Aug 28 '24 06:08 CXwudi

UPDATE

I'm still not seeing any changes for PWA, which is the main concern for this issue. However, regarding the other request that people had, which Matt mentioned, about the Open as window button when creating a shortcut, there is a workaround.

To bring back the Open as window option, go to brave://flags and set Shortcuts not Apps to Disabled. Once you do this, the option will appear again, as shown below:

image

I was about to cry thinking this was a deprecated feature, it probably will be but I hope it will continue to be supported. I use this fairly often for websites with no PWA support. Thank you for the workaround.

LZeugirdor avatar Aug 28 '24 13:08 LZeugirdor

UPDATE

I'm still not seeing any changes for PWA, which is the main concern for this issue. However, regarding the other request that people had, which Matt mentioned, about the Open as window button when creating a shortcut, there is a workaround.

To bring back the Open as window option, go to brave://flags and set Shortcuts not Apps to Disabled. Once you do this, the option will appear again, as shown below:

image

Thank you very much.... managing about 50 Customers Firewalls I really need this option as I have them directly accesible in a Mac-Folder Menu.... If this option will get removed I will have to lookout for another browser..... hope not....

JSuenram avatar Aug 29 '24 18:08 JSuenram

PWA support for fewer sites is probably related to brave://flags/#web-app-universal-install being disabled.

emerick avatar Aug 29 '24 20:08 emerick

TY for brave://flags/#web-app-universal-install

but what for extension as PWA?

nunu avatar Sep 04 '24 14:09 nunu

TY for brave://flags/#web-app-universal-install

but what for extension as PWA?

You can usually take the extension link in the address bar when it's open and try to create a shortcut as well. Please note that the shortcut becomes absolute when the extension is updated, as the link changes.

pnimakada avatar Sep 11 '24 13:09 pnimakada

You can usually take the extension link in the address bar when it's open and try to create a shortcut as well. Please note that the shortcut becomes absolute when the extension is updated, as the link changes.

This definitely isn't ideal. I'd like to be able to turn extension pages into PWAs like I did in the past, if at all possible.

gitgizmo7 avatar Sep 11 '24 14:09 gitgizmo7

You can usually take the extension link in the address bar when it's open and try to create a shortcut as well. Please note that the shortcut becomes absolute when the extension is updated, as the link changes.

This definitely isn't ideal. I'd like to be able to turn extension pages into PWAs like I did in the past, if at all possible.

How did you do this in the past? I'm not aware of any method, except for this one, to turn extensions into PWAs.

pnimakada avatar Sep 11 '24 15:09 pnimakada

How did you do this in the past? I'm not aware of any method, except for this one, to turn extensions into PWAs.

I just tested using Brave v1.68.137 (an arbitrary previous release that has the old behavior). In this version, the "create shortcut" option had a checkbox to "open as window" which effectively installed the page as a PWA. See the attached screenshots. This checkbox is now missing, and the "create shortcut" option now just puts a link on the desktop that opens a tab in Brave instead of installing an app that opens as a separate window. On websites, this problem is fixed by the option to "install [site]" when the previously mentioned flag is enabled, but this is absent for extension pages, so the flag does not fully solve the problem.

Screenshot 2024-09-11 at 11 34 08 AM Screenshot 2024-09-11 at 11 38 10 AM

gitgizmo7 avatar Sep 11 '24 15:09 gitgizmo7

How did you do this in the past? I'm not aware of any method, except for this one, to turn extensions into PWAs.

I just tested using Brave v1.68.137 (an arbitrary previous release that has the old behavior). In this version, the "create shortcut" option had a checkbox to "open as window" which effectively installed the page as a PWA. See the attached screenshots. This checkbox is now missing, and the "create shortcut" option now just puts a link on the desktop that opens a tab in Brave instead of installing an app that opens as a separate window. On websites, this problem is fixed by the option to "install [site]" when the previously mentioned flag is enabled, but this is absent for extension pages, so the flag does not fully solve the problem.

Screenshot 2024-09-11 at 11 34 08 AM Screenshot 2024-09-11 at 11 38 10 AM

I mean, this method is the one I was talking about, and it's working fine for me now with the flag enabled. I don't know why it's not working for you, but either way, when the extension is updated, the ID changes. Therefore, the app won't open until you repeat the steps again. It's been like this for as long as I can remember.

pnimakada avatar Sep 11 '24 16:09 pnimakada

I mean, this method is the one I was talking about, and it's working fine for me now with the flag enabled. I don't know why it's not working for you, but either way, when the extension is updated, the ID changes. Therefore, the app won't open until you repeat the steps again. It's been like this for as long as I can remember.

Ah, there appears to have been a misunderstanding on my end. I was referring to the brave://flags/#web-app-universal-install flag, which fixed websites but not extension pages. Disabling the brave://flags/#shortcuts-not-apps flag does indeed solve the extension pages problem for me. Knowing this, it would be nice if Brave could keep some form of this functionality, as the fact that this flag was enabled by default suggests the "open as window" functionality may be removed entirely in the future, which would hurt my workflow.

gitgizmo7 avatar Sep 11 '24 17:09 gitgizmo7

Exactly, PWA is the only feature preventing me from fully switching to Firefox.

pnimakada avatar Sep 11 '24 18:09 pnimakada

Exactly, PWA is the only feature preventing me from fully switching to Firefox.

try https://pwasforfirefox.filips.si/

both browsers have good features, and yes without PWA a will migrate more to firefox

nunu avatar Sep 11 '24 23:09 nunu

Just wanted to let everyone here know that for now, you can set the flag brave://flags/#shortcuts-not-apps to Disabled and this should resolve the issue. Note that we will be changing the "default" value to back to Disabled soon, which should resolve the issue for everyone.

Brave-Matt avatar Sep 20 '24 18:09 Brave-Matt

Just wanted to let everyone here know that for now, you can set the flag brave://flags/#shortcuts-not-apps to Disabled and this should resolve the issue. Note that we will be changing the "default" value to back to Disabled soon, which should resolve the issue for everyone.

hey @Brave-Matt, #shortcuts-not-apps is still defaulting to Enabled in both Release and Nightly. when will this be flipped to Disabled?

and for my own curiosity, does Brave have a timeline for adding separate "Install page as app" and "Create shortcut..." buttons like upstream Chromium?

landoncarbenia avatar Oct 30 '24 13:10 landoncarbenia

Verification PASSED using

Brave | 1.74.10 Chromium: 131.0.6778.85 (Official Build) beta (64-bit)
-- | --
Revision | bdff9e7d7314280ddbce1c3ada3abee4ce4a3b32
OS | Windows 11 Version 24H2 (Build 26100.2314)
  1. Installed 1.74.10
  2. launched Brave
  3. opened brave://flags/#shortcuts-not-apps in a new tab
  4. confirmed the flag was Disabled by default
  5. visited https://www.perplexity.ai/ in a new tab
  6. clicked hamburger menu >> Save and Share
  7. confirmed Install page as app option is available compared 1.73.91
  8. clicked Install page as app
  9. confirmed Install this page as an app dialog is shown
  10. clicked Install
  11. confirmed the site opened in its own, separate window/instance, compared with chrome
  12. opened brave://apps
  13. confirmed Perplexity shortcut is shown
  14. visited https://www.wellsfargo.com/ in a new tab
  15. clicked hamburger menu >> Save and Share
  16. clicked Create shortcut
  17. clicked Create on the Create shortcut
  18. checked Open as window
  19. confirmed the site opened in its own, separate window/instance, compared with chrome
  20. opened brave://apps
  21. confirmed Wells Fargo Bank shortcut is shown
step 4 step 7 (1.74.x) step 7 (1.73.x) step 9 step 11a step 11b step 13 step 16 step 18 step 19 step 21
Image Image Image Image Image Image Image Image Image Image Image

MadhaviSeelam avatar Nov 22 '24 00:11 MadhaviSeelam

This is broken again for me. Did something change?

gitgizmo7 avatar Mar 18 '25 15:03 gitgizmo7

Seems like it. The referenced flags all don't seem to exist, and the 'open as window' option is missing.

Brave 1.82.170 (Official Build) (64-bit)](https://brave.com/latest/)
Chromium: 140.0.7339.186

This is on Linux (aarch64 build)

null-von-sushi avatar Sep 20 '25 20:09 null-von-sushi