Answer the question
In order to leave comments, you need to log in
How to get a command line parameter in the extension for Chrome?
Subject. I need to launch google chrome from the command line with a custom parameter that specifies the path to the js script. Next, in the extension, you need to get the path to this script.
I rummaged through the chrome documentation, clicked through the entire contents of the chrome object in the debugger, and did not find anything similar to the command line. Is this even possible or do I need to write a more complex npapi extension? (in the npapi plugin, in theory, you can get a pointer to your own process, then you can pull out the command line and parse it)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question