chrome-native-messaging Questions

3

Solved

How do you process a Chrome Native Messaging API-call with a bash script? I succeeded in doing it with python with this example Sure I can call bash from the python code with subprocess, but is i...

4

I created an extension that uses native messaging to a host. The manifest.json of the extension is: { "manifest_version": 2, "version": "1.0", "name": "Native Messaging Example", "description...
Brennabrennan asked 14/8, 2014 at 8:7

2

Solved

I spent a few hours today researching how to get Chrome native messaging working with a C# native host. Conceptually it was quite simple, but there were a few snags that I resolved with help (in pa...
Encarnalize asked 17/6, 2015 at 1:3

1

I am finding the 'Uncaught (in promise) Error: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received' error in the backgroun...

1

Solved

I tried to recreate the example to connect to my Xamarin Mac application using a chrome extension I will use as backbone for all other browsers, but it didn't work with the following error: Error ...
Petua asked 10/2, 2020 at 21:1

3

Solved

How to fix a "Native host has exited" error in my Chrome browser extension for Mac? The docs here on Native Messaging specifically mention this error towards the bottom, and suggest a likely cause,...

1

I am trying to build a PHP class that can communicate with a Chrome Extention through Native Messaging. I can connect to my code, but at initiation Chrome sends chrome-extension://lkjcciocnocjjgp...

0

Related: How to parse JSON from stdin at Native Messaging host? Utilizing the code at How do I use a shell-script as Chrome Native Messaging host application to send JSON from client (app) to ...
Secondrate asked 24/1, 2018 at 2:38

1

Solved

Utilizing the code at How do I use a shell-script as Chrome Native Messaging host application as a template and given the file file.json which contains {"text":"abc"} following the code at Itera...
Inge asked 22/1, 2018 at 15:32

1

Using Chrome Native Messaging sample app as a template am able make a system call to bash os.system("<bash command>") The requirement is to return a base64 string from the python script o...
Mcmahon asked 20/1, 2018 at 5:56

2

Solved

NPAPI plugins are not supported on Microsoft's new browser Edge. Google Chrome developed Chrome Native Messaging in order to interact with an executable installed on the computer provided its li...
Fastigiate asked 28/8, 2015 at 20:12

3

Solved

I have a native app written in c++ and a chrome-extension. I am communicating between them using 'chrome native messaging'. Native-App code: int main(int argc, char* argv[]) { unsigned int a, c...

2

Solved

I have written a chrome app and a native messaging host in Java. The combo works fine on linux. However when I try to port the combo to windows the communication can not be established. The jar whe...

3

I'm developing an application using Chrome Native Messaging that starts through a Chrome Extension. My question is: How can I ensure that host application is really the same supplied by me? I nee...
Circumlocution asked 7/4, 2015 at 19:50

2

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": "s...
Obscurant asked 24/1, 2014 at 7:14

2

Solved

I am trying to emulate Chrome's native messaging feature using Firefox's add-on SDK. Specifically, I'm using the child_process module along with the emit method to communicate with a python child p...

2

Solved

I am trying to implement a Chrome extension using runtime.connectNative and postMessage. I am following the Chrome documentation, downloaded the native messaging example, and changed the native app...
Gaius asked 27/10, 2014 at 7:10

4

I am looking to manipulate the content page that's currently on the tab in Chrome and if this below can not do that then I need to find the way in order to do that! Hey all I am trying to get this...

2

Solved

We want to replace a custom NPAPI interface between a browser based web application and an client side daemon process. Is there a similar technology to Chrome's Native Client Messaging in Firefox?...
Hammack asked 24/9, 2013 at 19:57

2

I've made chrome host for passing native messages between my extension and my process, my process starts when chrome starts but not closed when i close chrome, should i add parameter to the manifes...
Intermix asked 13/1, 2014 at 8:42

1

Solved

I am using Chrome's Native Messaging API to pass the DOM of a page to my host. When I try passing a small string from my extension to my host, everything works, but when I try to pass the entire DO...

1

Solved

I'm trying to receive a message from my chrome extension via native messaging. The popup.html console indicates that the message is being sent, but my host is not receiving it for some reason. I ca...
Pivoting asked 25/12, 2014 at 3:5

1

Solved

I'm developing a Chrome extension working with native messaging host. It works in most cases, but I have found a strange behavior when I send messages of certain sizes. It seems that message is dro...

2

Solved

I have a native-app written in c++. I am able to send data from my native-app to chrome extension using How to send message FROM native app TO Chrome extension? But I am unable to figure out the...

1

Solved

I did write an chrome extension that calls this connect() function to connect to a local C++ program: function connect() { console.log("test1"); //port = chrome.extension.connectNative('com.a.ch...

© 2022 - 2024 — McMap. All rights reserved.