Native Messaging
nativeMessagingInstall Warning
"Communicate with cooperating native applications."
Technical Context
Enables the extension to exchange messages with native applications installed on the user's computer. The native app must be specifically configured to communicate with the extension.
What This Means For You
The extension can talk to other programs installed on your computer, not just things in the browser. This is used by password managers and system utilities.
Related APIs
This permission enables access to these Chrome APIs:
chrome.runtime.connectNativechrome.runtime.sendNativeMessageCommon Use Cases
- ✓Password managers
- ✓System utilities
- ✓File handlers
How to Declare in manifest.json
Add the "nativeMessaging" permission to your extension manifest:
{
"manifest_version": 3,
"name": "My Extension",
"permissions": [
"nativeMessaging"
]
}What Users Will See
When users install your extension, Chrome will display this warning:
This extension can:
"Communicate with cooperating native applications."
Related Permissions
Web Navigation
webNavigationThe extension can see when you navigate to different pages and how you got there, like clicking a link or using back/forward. It sees URLs as you browse.
Web Authentication Proxy
webAuthenticationProxyThe extension can intercept security key authentication requests. This is highly specialized and used for remote access to security keys.
Certificate Provider
certificateProviderThe extension can provide digital certificates for secure website authentication. This is used for smart card login or enterprise security.
Runtime
runtimeThis allows different parts of the extension to communicate with each other. It also enables the extension to respond when Chrome starts or when you click its icon.
Identity
identityThe extension can sign into services on your behalf using Google login or other authentication providers. By itself, it cannot see your email address.