How to install a Chrome extension with C/C++?

Y K

I have to install a Chrome extension using C/C++.

I tried to copy the whole folder of a extension in C:\Users[login_name]\AppData\Local\Google\Chrome\User Data\Default\Extensions. After copying it I deleted the extension from Chrome and then pasted the extension folder back to its own place but it doesn't get installed. How can I install a Chrome extension without using the Chrome browser? I want to install the extension using C/C++.

user_cr

Google Chrome supports the following alternative extension installation methods:

  • Using a preferences JSON file (for macOS X and Linux only)
  • Using the Windows registry (for Windows only)

source: https://developer.chrome.com/docs/extensions/mv3/external_extensions/

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324174981&siteId=291194637