Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

--load-extension parameter for chrome doesn't work

Does anyone know how to load unpacked google chrome plugin from command line? I tried the following, but it doesn't work:

"C:\Users\<name>\AppData\Local\Google\Chrome\Application\chrome.exe" --load-extension="<path/to/unpacked/extension>"

The above command just opens a chrome browser window and doesn't load my extension.

like image 322
Maya Avatar asked Feb 13 '23 08:02

Maya


1 Answers

Most of the command-line flags are only effective when all existing instances of Chrome that corresponds to the chrome profile have been terminated.

If you don't see any Chrome window, open the task manager and kill every process called chrome.exe. After doing that, you can use --load-extension=... to temporarily load a Chrome extension (the extension will be gone when you start Chrome without this flag, again only after closing all running instances of Chrome).

like image 82
Rob W Avatar answered Feb 15 '23 03:02

Rob W