- Install chrome-extension directory into Chrome's extensions.
- Copy extension ID in chrome and insert it into chrome-extension/content.js (const extensionId) and application/manifest.json (property allowed_origins).
- Specify full path to application/app.ps1 in application/manifest.json path property.
- Add native messaging channel with name native.messaging in windows registry. Specify default value with full path to application/manifest.json. For example
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Google\Chrome\NativeMessagingHosts\native.messaging]
@="C:\Users\user\page-ext-messaging\application\manifest.json"
- Launch index.html with Live Server.