You are not logged in.
I don't have any sort of graphical file manager installed. How can I install a chrome *.crx extension without dragging and dropping it into chrome://extensions?
Alternatively, is there some kind of small CLI utility that I can pass a file and it will 'attach it' to the mouse as if I was dragging and dropping? For example, I type "$ drag-drop my-extension.crx" and then I could click into chrome and it would be like I dropped the file in there?
Last edited by EvanPurkhiser (2014-03-22 03:19:23)
Offline
You can do it this way: https://developer.chrome.com/extensions … extensions
nano ${HOME}/Library/Application Support/Google/Chrome/External Extensions/{$EXTENSION_ID}.jsoncontent:
{
"external_crx": "${EXTENSION_CRX_FILE}",
"external_version": "${EXTENSION_VERSION}"
}| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |
Offline
Alternatively, is there some kind of small CLI utility that I can pass a file and it will 'attach it' to the mouse as if I was dragging and dropping? For example, I type "$ drag-drop my-extension.crx" and then I could click into chrome and it would be like I dropped the file in there?
You can simply use Chrome to browse your files.
try
file:///in the location bar
Last edited by x33a (2014-03-22 05:02:40)
Offline
@x33a, That was actually the first thing I tried. But chrome complains and gives the error "Apps, extensions, and user scripts cannot be added from this website".
Here's a simple solution:
Exit all chrome instances
Run this command
chromium --enable-easy-off-store-extension-install my-extension.crxIt would still be nice if I could 'fake' a drag and drop event.
Offline