I want send/receive data between Chrome Extension and Local Python. like, python sends data and chrome extension listens Any Idea how to do?
Asked
Active
Viewed 289 times
2
-
https://developer.chrome.com/extensions/nativeMessaging – hindmost Apr 16 '20 at 15:57
-
Can you give example of using HOST from python? – Ergash Masharipov Apr 16 '20 at 20:45
-
Examples are pretty findable in the net. Just use google. – hindmost Apr 17 '20 at 07:52
-
I didnt find but I decided to use websockets, thank you for your short answer) – Ergash Masharipov Apr 17 '20 at 23:31
1 Answers
2
I was able to pass message to Chrome using python websockets. It is very vast (average 10ms) and easy to pass JSON data. Here is the example Python websockets. I hope it will help in the future for developers who encounters this question.

Ergash Masharipov
- 131
- 1
- 9