https://github.com/wu9007/chrome_native_channel
A chrome plugin for calling native applications.
https://github.com/wu9007/chrome_native_channel
chrome-plugin nativescript-plugin
Last synced: 3 months ago
JSON representation
A chrome plugin for calling native applications.
- Host: GitHub
- URL: https://github.com/wu9007/chrome_native_channel
- Owner: wu9007
- Created: 2019-11-14T04:27:16.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-11-15T04:24:01.000Z (over 6 years ago)
- Last Synced: 2026-03-27T23:42:02.327Z (3 months ago)
- Topics: chrome-plugin, nativescript-plugin
- Language: Batchfile
- Homepage:
- Size: 969 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Chrome Native Channel
> 一个向东芝标签打印机发送打印指令的 Chrome 插件。
### 请手动修改以下地址
- nativecall.json
```json
{
"name": "org.leyan95.launchlaunchcloudmusic",
"description": "Chrome sent message to native app.",
"path": "D:\\SysApp\\CloudMusic\\cloudmusic.exe", // Your target program (Here we take Netease cloud music as an example)
"type": "stdio",
"allowed_origins": [
"chrome-extension://aaghkkhobobningoihfhojdjlccbnnna/" // Your plugin id
]
}
```
#### 使用方式
- 将 `chrome_plugin` 目录作为插件进行安装
- 修改 `com.shinow.printer-win.json` 和 `nativecall.json` 中 `chrome-extension` 后跟的 `ID` 为上一步安装插件的 `ID`
- 执行 `install_host.bat`
- 打开 `index.html` 进行测试
>