HackDig : Dig high-quality web security articles for hackers

How to autostart PWAs after logging into Windows

2020-11-16 13:01

Windows 10

​As more users begin to use a website as a progressive web app (PWA), Chromium-based browsers have added the ability to automatically launch your favorite PWAs when you log in to Windows 10.

A progressive web app, or PWA, is an application designed to be delivered via the web without installing executables on the computer.

When launched, PWAs will be shown in a browser window that displays a minimal browser interface to feel like the web app is running as an independent application.

When visiting sites that offer a PWA, such as Twitter, Microsoft Office for the Web, and SiriusXM, the browser will display a + symbol in the address bar. Clicking on this button will install the PWA in your browser.

Install PWA button in Google Chrome
Install PWA button in Google Chrome

In the latest Google Chrome and Microsoft Edge builds, you can enable a flag that causes the browser to ask during the installation of a PWA if you want to autostart it when you log in to Windows.

Prompt to autostart PWA when logging into Windows
Prompt to autostart PWA when logging into Windows

If you enable the PWA to autostart, a shortcut to the PWA will be added to users' Windows 10 Startup folder, as shown below.

Twitter PWA added to Windows 10 Startup folder
Twitter PWA added to Windows 10 Startup folder

This shortcut opens chrome_proxy.exe with the app ID associated with the installed PWA to launch the website as a PWA.

"C:Program Files (x86)GoogleChromeApplicationchrome_proxy.exe"  --profile-directory=Default --app-id=jgeocpdicgmkeemopbanhokmhcgcflmi

To enable this feature, users need to enable an experimental flag in Microsoft Edge or Google Chrome.

How to autostart PWAs in Windows

To enable the ability to configure PWAs to autostart in Windows, please follow these instructions:

  1. Open the Chrome browser and enter chrome://flags/#enable-desktop-pwas-run-on-os-login into the address bar. Then press Enter.
  2. Chrome will open a page that shows the "Desktop PWAs run on OS login" setting. Change this setting to Enabled.
  3. The browser will then display a prompt that you need to relaunch the browser for the setting to take effect. Click on the "Relaunch Now" button, and the browser will restart.
    Desktop PWAs run on OS login
    Desktop PWAs run on OS login

Once you relaunch the browser, an option to autostart the PWA will be shown when you install it.


Source: /swodniw-otni-gniggol-retfa-sawp-tratsotua-ot-woh/tfosorcim/swen/moc.retupmocgnipeelb.www

Read:167 | Comments:0 | Tags:Microsoft Software

“How to autostart PWAs after logging into Windows”0 Comments

Submit A Comment

Name:

Email:

Blog :

Verification Code:

Tools