Chromium Code Reviews| Index: chrome/common/extensions/docs/templates/articles/settings_override.html |
| diff --git a/chrome/common/extensions/docs/templates/articles/settings_override.html b/chrome/common/extensions/docs/templates/articles/settings_override.html |
| index f00167ab9b2dc9973f234b53132e33f4295dd0fc..17bdd7c0283cd5ed5926cb2b58ef6b58611c2838 100644 |
| --- a/chrome/common/extensions/docs/templates/articles/settings_override.html |
| +++ b/chrome/common/extensions/docs/templates/articles/settings_override.html |
| @@ -46,6 +46,32 @@ manifest</a>.</p> |
| <code>search_provider</code>, and <code>startup_pages</code> are only enabled |
| in the Chrome Dev release.</p> |
| +<h2 id="customizing">Customizing values</h2> |
| +<p>Values in the manifest can be customized in the following ways:</p> |
| +<ul> |
| + <li> |
| + All values of the <code>search_provider</code>, <code>homepage</code> and |
| + <code>startup_pages</code> properties can be localized using the |
| + $(ref:i18n chrome.i18n API). |
| + </li> |
| + <li> |
| + For <a href="http://developer.chrome.com/extensions/external_extensions">external extensions</a>, |
| + the <code>search_provider</code>, <code>homepage</code> and |
| + <code>startup_pages</code> URL values can be parametrized using a registry key. |
| + A new registry entry should be created next to the "update_url" key (see |
| + instructions <a href=http://developer.chrome.com/extensions/external_extensions#registry>here</a>). |
|
battre
2014/04/01 14:15:44
"" around href parameter?
vasilii
2014/04/08 08:48:06
Done.
|
| + The value name is "install_parameter", the value data is an arbitrary string: |
|
battre
2014/04/01 14:15:44
s/value name/entry name/
s/value data/entry data/
vasilii
2014/04/08 08:48:06
This is official Microsoft terminology. Data entri
|
| + <pre>{ |
| + "update_url": "https://clients2.google.com/service/update2/crx", |
| + "install_parameter": "Value" |
| + }</pre> |
| + All occurrences of the substring "__PARAM__" in the manifest URLs will be |
| + substituted with the "install_parameter" value. If “install_parameter” is |
| + absent, "__PARAM__" are removed. Note that "__PARAM__" must be beyond the |
|
battre
2014/04/01 14:15:44
absent, occurrences of "__PARAM__"
battre
2014/04/01 14:15:44
Note that "__PARAM__" cannot be part of the hostna
vasilii
2014/04/08 08:48:06
Done.
vasilii
2014/04/08 08:48:06
Done.
|
| + first '/' after the hostname, they cannot be part of the hostname. |
| + </li> |
| +</ul> |
| + |
| <h2 id="reference">Reference</h2> |
| <p> |
| An extension can override one or more of the following properties in the |