John Bachir
John Bachir

Reputation: 22751

How can a Chrome extension communicate with a system process?

The 1Password chrome extension reads and writes to the same data store as the main system (in my case, OS X) app. How can it do this?

Upvotes: 3

Views: 1390

Answers (1)

Xan
Xan

Reputation: 77551

Specifically in the case of 1Password, it uses WebSockets to connect to a local (127.0.0.1) server which the desktop component of 1Password presumably runs.

Alternatively, an extension can launch a system process with Native Messaging.

Upvotes: 6

Related Questions