Previously, you would do this through NPAPI plugins.
However, Google is now phasing out NPAPI for Chrome, so the preferred way to do this is using the native messaging API. The external application would have to register a native messaging host in order to exchange messages with your application.
More Related Contents:
- How to access the webpage DOM rather than the extension page DOM?
- How can I get the URL of the current tab from a Google Chrome extension?
- How to change chrome packaged app id Or Why do we need key field in the manifest.json?
- How can I open my extension’s pop-up with JavaScript?
- chrome extension mv3 – Modularize service worker js file
- Detect Chrome extension first run / update
- Disable developer mode extensions pop up in Chrome
- Modifying the built-in newtab page
- Chrome Extension Content Script on https://chrome.google.com/webstore/
- Where does Chrome store extensions?
- Is it possible to run Google Chrome in headless mode with extensions?
- Using ECMAScript 6
- Content script matching top-level domains like all google.*
- How to download a CRX file from the Chrome web store for a given ID? [closed]
- Getting around Chrome’s Malicious File Warning
- How can I enable my chrome extension in incognito mode?
- Insert an image in chrome extension
- How to disable (gray out) page action for Chrome extension?
- Can I modify outgoing request headers with a Chrome Extension?
- How to access the webpage DOM/HTML from an extension popup or background script?
- How do I import scripts into a service worker using Chrome extension manifest version 3?
- Disable chrome download multiple files confirmation
- Add contextmenu items to a Chrome extension’s browser action button
- Prevent chrome.notifications API from hiding my notification after a few seconds
- Chrome version 18+: How to allow inline scripting with a Content Security Policy?
- What does “http://*/*”, “https://*/*” and “” mean in the context of Chrome extension’s permissions
- CORS issue doesn’t occur when using POSTMAN
- How can I detect the current tab’s mime type in a Google Chrome extension?
- Run script each time Chrome extension icon clicked
- Chrome Console SameSite Cookie Attribute Warning