Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sandanat/browser-app-native-messaging


https://github.com/sandanat/browser-app-native-messaging

Last synced: about 23 hours ago
JSON representation

Awesome Lists containing this project

README

        

# Installation

1. Install _chrome-extension_ directory into Chrome's extensions.
1. Copy extension ID in chrome and insert it into _chrome-extension/content.js_ (const **extensionId**) and _application/manifest.json_ (property **allowed_origins**).
1. Specify full path to _application/app.ps1_ in _application/manifest.json_ **path** property.
1. Add native messaging channel with name **native.messaging** in windows registry. Specify default value with full path to _application/manifest.json_. For example

```re
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Google\Chrome\NativeMessagingHosts\native.messaging]
@="C:\Users\user\page-ext-messaging\application\manifest.json"
```

4. Launch _index.html_ with [Live Server](https://marketplace.visualstudio.com/items?itemName=ritwickdey.LiveServer).