Respond to Extension Function based on Javascript

102 views
Skip to first unread message

Kirollos Mamdouh

unread,
Jul 17, 2023, 1:34:38 PM7/17/23
to Chromium-discuss
Hi Team,

I'm having a flow that I want to implement but facing some difficulties on the How:
Chromium Extension API Function being called which will RespondLater() -> Function executes some logic -> Triggers an Event -> event_handler.js has a listener on the event and shows a UI component.  

What i would like to achieve is to Respond to the Extension Function caller based on a user click on the UI component shown in the flow above.

The challenge is calling Respond() from JS or event having it in C++ and triggering it from JS to Respond() to the initiating Extension Function

your help would be much appreciated!

Thanks in advance,

guest271314

unread,
Jul 27, 2023, 12:06:28 PM7/27/23
to Chromium-discuss, Kirollos Mamdouh
If I understand the question correctly you can use a C++ Native Messaging host.
Reply all
Reply to author
Forward
0 new messages