Ability to Create Shortcut (as WebApp) for local pages

Description of the issue:
I am a developer and I’ve write some pages on my local machine as my tools, I want to save it as shortcut with “Open in window” flag, to use it like a WebApp.

But I found that the menu option “Create shortcut…” is disabled for local page.

How can this issue be reproduced?

  1. Open a local page
  2. Open menu at top-right corner → More tools → Create shortcut
  3. “Create shortcut” is greyed

Expected result:
“Create shortcut” is on as online pages, and I can create a shortcut with “Open in window” option

Brave Version( check About Brave):
1.39.111

Additional Information:
I tried launch brave with flag -app="my/local/path.html".
It works as I expected, which means there is no reason to intentionally disable it

Hi

@wad8989

As it looks like there is no possibility to create shortcuts for local files, I tested successfully the workaround (proposed in the link below) for a test.html file.

  1. I created a shortcut for www.bbc.com (or any page of your choice), using “more tools”, “create shotcust”, and checked “open as window”.

  2. I right-clicked on the shortcut generated on the desktop, deleted in the target, everything after the word app and pasted the address of my test file with the sign equal before it =C:\test.html

  3. To replace the ico file with an icon of your choice go to C:\Users…\AppData\Local\BraveSoftware\Brave-Browser\User Data\Default\Web Applications, and by ordering folders according to date you’ll find the ico file.

Workaround taken from https://support.google.com/chromebook/thread/108538559/how-do-i-create-a-launcher-shortcut-for-a-local-html-file?hl=en

Yes I’ve written it in my Additional Information as well

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.