OLD | NEW |
1 <!DOCTYPE html><!-- This page is a placeholder for generated extensions api doc.
Note: | 1 <!DOCTYPE html><!-- This page is a placeholder for generated extensions api doc.
Note: |
2 1) The <head> information in this page is significant, should be uniform | 2 1) The <head> information in this page is significant, should be uniform |
3 across api docs and should be edited only with knowledge of the | 3 across api docs and should be edited only with knowledge of the |
4 templating mechanism. | 4 templating mechanism. |
5 3) All <body>.innerHTML is genereated as an rendering step. If viewed in a | 5 3) All <body>.innerHTML is genereated as an rendering step. If viewed in a |
6 browser, it will be re-generated from the template, json schema and | 6 browser, it will be re-generated from the template, json schema and |
7 authored overview content. | 7 authored overview content. |
8 4) The <body>.innerHTML is also generated by an offline step so that this | 8 4) The <body>.innerHTML is also generated by an offline step so that this |
9 page may easily be indexed by search engines. | 9 page may easily be indexed by search engines. |
10 --><html xmlns="http://www.w3.org/1999/xhtml"><head> | 10 --><html xmlns="http://www.w3.org/1999/xhtml"><head> |
(...skipping 832 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
843 future, stop supporting packages using deprecated manifest versions. Extensions, | 843 future, stop supporting packages using deprecated manifest versions. Extensions, |
844 applications, and themes that aren't ready to make the jump to the new manifest | 844 applications, and themes that aren't ready to make the jump to the new manifest |
845 version in Chrome 18 can either explicitly specify version <code>1</code>, or | 845 version in Chrome 18 can either explicitly specify version <code>1</code>, or |
846 leave the key off entirely. | 846 leave the key off entirely. |
847 </p> | 847 </p> |
848 <p> | 848 <p> |
849 The changes between version 1 and version 2 of the manifest file format are | 849 The changes between version 1 and version 2 of the manifest file format are |
850 described in detail in <a href="manifestVersion.html">the | 850 described in detail in <a href="manifestVersion.html">the |
851 <code>manifest_version</code> documentation.</a> | 851 <code>manifest_version</code> documentation.</a> |
852 </p> | 852 </p> |
| 853 <p class="caution"> |
| 854 Setting <code>manifest_version</code> 2 in Chrome 17 or lower is not |
| 855 recommended. If your extension needs to work in older versions of Chrome, |
| 856 stick with version 1 for the moment. We'll give you ample warning before |
| 857 version 1 stops working. |
| 858 </p> |
853 <h3 id="web_accessible_resources">web_accessible_resources</h3> | 859 <h3 id="web_accessible_resources">web_accessible_resources</h3> |
854 <p> | 860 <p> |
855 An array of strings specifying the paths (relative to the package root) of | 861 An array of strings specifying the paths (relative to the package root) of |
856 packaged resources that are expected to be usable in the context of a web page. | 862 packaged resources that are expected to be usable in the context of a web page. |
857 For example, an extension that injects a content script with the intention of | 863 For example, an extension that injects a content script with the intention of |
858 building up some custom interface for <code>example.com</code> would whitelist | 864 building up some custom interface for <code>example.com</code> would whitelist |
859 any resources that interface requires (images, icons, stylesheets, scripts, | 865 any resources that interface requires (images, icons, stylesheets, scripts, |
860 etc.) as follows: | 866 etc.) as follows: |
861 </p> | 867 </p> |
862 <pre>{ | 868 <pre>{ |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
927 _uff=0; | 933 _uff=0; |
928 urchinTracker(); | 934 urchinTracker(); |
929 } | 935 } |
930 catch(e) {/* urchinTracker not available. */} | 936 catch(e) {/* urchinTracker not available. */} |
931 </script> | 937 </script> |
932 <!-- end analytics --> | 938 <!-- end analytics --> |
933 </div> | 939 </div> |
934 </div> <!-- /gc-footer --> | 940 </div> <!-- /gc-footer --> |
935 </div> <!-- /gc-container --> | 941 </div> <!-- /gc-container --> |
936 </body></html> | 942 </body></html> |
OLD | NEW |