Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>Another way you can pass information to an installed extension from outside of Chrome is to have a page with your extension that you then open Chrome too and pass the info in the hash...such as.... </p> <pre><code>chrome.exe "chrome-extension://emcggffhhapbbkcodabdliakappfibcf/showHash.html#info" </code></pre> <p>Problem with this method is your installing the extension using the simple registry method (Im guessing) and not using the Policy method. With the Policy method you can force an install and it will happen even if Chrome is allready open (where as according to the docs the simple method happens the next time Chrome is opened). Downside to this is you will have to make an uninstaller yourself as you cant uninstall an extension from Chrome that is installed with this method. Im also not sure how quick/often it will be before the extension is installed (couldnt find it in the docs and too lazy to try it ;)) and youd need to make your installer wait a bit for it to be installed....<br> <a href="http://www.chromium.org/developers/how-tos/adding-new-policies" rel="nofollow">http://www.chromium.org/developers/how-tos/adding-new-policies</a><br> <a href="http://dev.chromium.org/administrators/policy-list-3#ExtensionInstallForcelist" rel="nofollow">http://dev.chromium.org/administrators/policy-list-3#ExtensionInstallForcelist</a><br> <a href="http://dev.chromium.org/administrators/policy-templates" rel="nofollow">http://dev.chromium.org/administrators/policy-templates</a> (says where in the registry to add them)</p> <p>Another possible method could be to pack the extension at install time and add a file with the info that the extension could read. Problem with this method is that the extensions ID would change (might not be a problem for you?) or youll have to include the PEM in your installer which you probably dont want to do.... </p> <pre><code>chrome.exe --pack-extension="C:\simple-example" --no-message-box </code></pre>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload