https://github.com/rumkin/electron-ipc-demo
Demo for Chrome extensions alike communication between main process and web page
https://github.com/rumkin/electron-ipc-demo
electron ipc postmessage
Last synced: about 1 month ago
JSON representation
Demo for Chrome extensions alike communication between main process and web page
- Host: GitHub
- URL: https://github.com/rumkin/electron-ipc-demo
- Owner: rumkin
- License: mit
- Created: 2019-02-07T04:19:29.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-02-07T04:24:24.000Z (over 7 years ago)
- Last Synced: 2025-03-25T01:42:34.253Z (about 1 year ago)
- Topics: electron, ipc, postmessage
- Language: JavaScript
- Size: 2.93 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: license
Awesome Lists containing this project
README
# Electron IPC Demo
1. Start main process.
2. Create server to server http files.
3. Create BrowserWindow with preload and contextIsolation.
4. Listen for internal postMessages in preload.js
5. Send postMessage to the main process via ipcRenderer.
## License
MIT © [Rumkin](https://rumk.in)