Questions tagged [chrome-native-messaging]

Native Messaging is a Chrome-specific mechanism that allows Chrome extensions to communicate with Native applications running on the host machine.

Native Messaging is a Chrome-specific mechanism that allows Chrome extensions to communicate with native applications running on the host machine. The communication is done via standard in/out streams. This mechanism is supported for Windows, Mac and Linux operating systems.

This feature of Chrome allows developers to reach beyond the limits of the browser and into the host machine's domain (albeit in a limited fashion). The traditional way to do this was using the deprecated NPAPI plugin technology.

The documentation at https://developer.chrome.com/extensions/nativeMessaging includes examples and debugging tips. Check them out before posting a new question.

301 questions
0
votes
2 answers

Chrome Native Messaging Chrome Extension

I am trying to incorporate native messaging with my chrome extension and my java application. In my chrome extension's javascript, I have the following code. (I do have the nativeMessaging permission in my manifest.json) function…
0
votes
1 answer

How to install extension on client's chrome browser, while web site hit/browse

How to install extension on client's chrome browser, If my web site hit/browse by user. Thanks, Pravin
Pravin
  • 53
  • 1
  • 4
0
votes
0 answers

How to deal with Registry permissions for non admin users for Native messaging

Please help me on Native messaging Registry permissions: How to deal with Registry permissions for non admin users for Native messaging. Thanks, Pravin
Pravin
  • 53
  • 1
  • 4
0
votes
0 answers

Chrome Native Messaging Host Access Rights

I am porting my NPAPI based plugin to Native messaging host for Chrome. I can connect to it successfully and also run the host application. But the host application (win32 GUI App) uses many win32 API's like CreateFile to update itself and other…
0
votes
1 answer

What versions of Chrome supports HKCU Native Messaging Host

I am developing a Chrome Extension that interacts with a Native Messaging Application for Windows. The current documentation states the the Native Messaging Host can be registered in both HKLM and HKCU. The question is what versions of the Chrome…
user2501097
  • 1,011
  • 8
  • 4
0
votes
1 answer

NPAPI replacement (Native messaging host) for invoking external application not working

I have A Firebreath plugin which does the same for me, but since its support is being dropped in chrome, I have to look for an alternative. After having a look at the alternatives, Native messaging host looks like the best option for my case. I…
0
votes
1 answer

Chrome Native Messaging Error when Communicating

I am trying to create an Extension for Google Chrome ,in which I want to process some images. The extension was previously created using NPAPI ,but that being phased out need to switch to another alternative, Native Messaging looked like the best…
0
votes
2 answers

Native app does not work in Chrome extension

I am trying Chrome Native Messaging API for Chrome extension. Manifest.json for native app: { "name": "app.native", "description": "Native Message API Test.", "path": "native.exe", "type": "stdio", "allowed_origins":…
Leslie Wu
  • 760
  • 3
  • 13
  • 29
0
votes
1 answer

Creating a manifest file inside of /Library/Google/Chrome/NativeMessagingHosts requires super user permissions

This is on Mac 10.8 I have written Google Chrome Extension and a Native Messaging executable which communicates with the Chrome Extension using Native Messaging. All works fine with my Proof of Concept as part of development. Issue is that now I…
0
votes
0 answers

Find profile path in native messaging host

I have a native messaging host and want to find the profile path of the extension that launched it. I have tried using NtQueryInformationProcess to retrieve the command line of the calling process (which has the profile path), however it appears I'm…
donaddon
  • 413
  • 2
  • 13
0
votes
1 answer

Unable to enable Chrome app in iframe

I'm trying to load the native messaging example app in an external webpage as follows: test.html