OLD | NEW |
| (Empty) |
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 | |
3 across api docs and should be edited only with knowledge of the | |
4 templating mechanism. | |
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 | |
7 authored overview content. | |
8 4) The <body>.innerHTML is also generated by an offline step so that this | |
9 page may easily be indexed by search engines. | |
10 --><html xmlns="http://www.w3.org/1999/xhtml"><head> | |
11 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | |
12 <link href="css/ApiRefStyles.css" rel="stylesheet" type="text/css"> | |
13 <link href="css/print.css" rel="stylesheet" type="text/css" media="print"> | |
14 <script type="text/javascript" src="../../../third_party/jstemplate/jstempla
te_compiled.js"> | |
15 </script> | |
16 <script type="text/javascript" src="../../../../third_party/json_minify/mini
fy-sans-regexp.js"> | |
17 </script> | |
18 <script type="text/javascript" src="js/api_page_generator.js"></script> | |
19 <script type="text/javascript" src="js/bootstrap.js"></script> | |
20 <script type="text/javascript" src="js/sidebar.js"></script> | |
21 <title>Google Chrome Extensions - Google Code</title></head> | |
22 <body> <div id="devModeWarning" class="displayModeWarning"> | |
23 You are viewing extension docs in chrome via the 'file:' scheme: are you exp
ecting to see local changes when you refresh? You'll need run chrome with --allo
w-file-access-from-files. | |
24 </div> | |
25 <div id="branchWarning" class="displayModeWarning"> | |
26 <span>WARNING: This is the <span id="branchName">BETA</span> documentation. | |
27 It may not work with the stable release of Chrome.</span> | |
28 <select id="branchChooser"> | |
29 <option>Choose a different version... | |
30 </option><option value="">Stable | |
31 </option><option value="beta">Beta | |
32 </option><option value="dev">Dev | |
33 </option><option value="trunk">Trunk | |
34 </option></select> | |
35 </div> | |
36 <div id="unofficialWarning" class="displayModeWarning"> | |
37 <span>WARNING: This is unofficial documentation. It may not work with the | |
38 current release of Chrome.</span> | |
39 <button id="goToOfficialDocs">Go to the official docs</button> | |
40 </div> | |
41 <div id="gc-container" class="labs"> | |
42 <!-- SUBTEMPLATES: DO NOT MOVE FROM THIS LOCATION --> | |
43 <!-- In particular, sub-templates that recurse, must be used by allowing | |
44 jstemplate to make a copy of the template in this section which | |
45 are not operated on by way of the jsskip="true" --> | |
46 <!-- /SUBTEMPLATES --> | |
47 <a id="top"></a> | |
48 <div id="skipto"> | |
49 <a href="#gc-pagecontent">Skip to page content</a> | |
50 <a href="#gc-toc">Skip to main navigation</a> | |
51 </div> | |
52 <!-- API HEADER --> | |
53 <table id="header" width="100%" cellspacing="0" border="0"> | |
54 <tbody><tr> | |
55 <td valign="middle"><a href="http://code.google.com/"><img src="images/c
ode_labs_logo.gif" height="43" width="161" alt="Google Code Labs" style="border:
0; margin:0;"></a></td> | |
56 <td valign="middle" width="100%" style="padding-left:0.6em;"> | |
57 <form action="http://www.google.com/cse" id="cse" style="margin-top:0.
5em"> | |
58 <div id="gsc-search-box"> | |
59 <input type="hidden" name="cx" value="002967670403910741006:61_cvz
fqtno"> | |
60 <input type="hidden" name="ie" value="UTF-8"> | |
61 <input type="text" name="q" value="" size="55"> | |
62 <input class="gsc-search-button" type="submit" name="sa" value="Se
arch"> | |
63 <br> | |
64 <span class="greytext">e.g. "page action" or "tabs"</span> | |
65 </div> | |
66 </form> | |
67 <script type="text/javascript" src="https://www.google.com/jsapi"></sc
ript> | |
68 <script type="text/javascript">google.load("elements", "1", {packages:
"transliteration"});</script> | |
69 <script type="text/javascript" src="https://www.google.com/coop/cse/t1
3n?form=cse&t13n_langs=en"></script> | |
70 <script type="text/javascript" src="https://www.google.com/coop/cse/br
and?form=cse&lang=en"></script> | |
71 </td> | |
72 </tr> | |
73 </tbody></table> | |
74 <div id="codesiteContent" class="hideSideNav"> | |
75 <a id="gc-topnav-anchor"></a> | |
76 <div id="gc-topnav"> | |
77 <h1>Google Chrome Extensions (<a href="http://code.google.com/labs/">Lab
s</a>)</h1> | |
78 <ul id="home" class="gc-topnav-tabs"> | |
79 <li id="home_link"> | |
80 <a href="index.html" title="Google Chrome Extensions home page">Home
</a> | |
81 </li> | |
82 <li id="docs_link"> | |
83 <a href="docs.html" title="Official Google Chrome Extensions documen
tation">Docs</a> | |
84 </li> | |
85 <li id="faq_link"> | |
86 <a href="faq.html" title="Answers to frequently asked questions abou
t Google Chrome Extensions">FAQ</a> | |
87 </li> | |
88 <li id="samples_link"> | |
89 <a href="samples.html" title="Sample extensions (with source code)">
Samples</a> | |
90 </li> | |
91 <li id="group_link"> | |
92 <a href="http://groups.google.com/a/chromium.org/group/chromium-exte
nsions" title="Google Chrome Extensions developer forum">Group</a> | |
93 </li> | |
94 <li id="so_link"> | |
95 <a href="http://stackoverflow.com/questions/tagged/google-chrome-ext
ension" title="[google-chrome-extension] tag on Stack Overflow">Questions?</a> | |
96 </li> | |
97 </ul> | |
98 </div> <!-- end gc-topnav --> | |
99 <div class="g-section g-tpl-170"> | |
100 <!-- SIDENAV --> | |
101 <script> | |
102 initToggles(); | |
103 </script> | |
104 <div class="g-unit" id="gc-pagecontent"> | |
105 <div id="pageTitle"> | |
106 <h1 class="page_title"></h1> | |
107 </div> | |
108 <!-- TABLE OF CONTENTS --> | |
109 <!-- /TABLE OF CONTENTS --> | |
110 <!-- Standard content lead-in for experimental API pages --> | |
111 <!-- STATIC CONTENT PLACEHOLDER --> | |
112 <div id="static"><div id="pageData-name" class="pageData"></div> | |
113 <div id="pageData-showSideNav" class="pageData">false</div> | |
114 <style> | |
115 cs { | |
116 border:none; | |
117 margin:0; | |
118 } | |
119 #pics td { | |
120 padding:0 1em 0 0; | |
121 } | |
122 #pics img { | |
123 border:none; | |
124 } | |
125 </style> | |
126 <table class="columns" style="margin:0"> | |
127 <tbody><tr> | |
128 <td> | |
129 <h3>What are extensions?</h3> | |
130 <p> | |
131 Extensions are small software programs that | |
132 can modify and enhance the functionality of the Chrome browser. | |
133 You write them using web technologies such as | |
134 HTML, JavaScript, and CSS. | |
135 You can also use the extension system to build | |
136 <a href="apps.html">packaged apps</a>, | |
137 a downloadable kind of | |
138 <a href="http://code.google.com/chrome/apps/index.html">installable web app</a>. | |
139 </p> | |
140 <p> | |
141 <img src="images/index/gmail-small.png" width="91" height="35" align="right" sty
le="margin-top:0px; margin-left:0.5em" alt="A screenshot of an extension's icon
in the browser bar"> | |
142 From a user's point of view, | |
143 extensions and packaged apps are very different | |
144 because they present very different user interfaces. | |
145 Extensions have little to no user interface. | |
146 For example, the image to the right shows the icon | |
147 that provides the UI for the | |
148 <a href="samples.html#gmail">Gmail extension</a>. | |
149 </p> | |
150 <p> | |
151 <img src="images/index/html5app.png" width="200" height="160" align="right" styl
e="margin-top:0px; margin-left:0.5em" alt="A screenshot of a packaged app that i
mplements a jigsaw puzzle"> | |
152 Packaged apps, on the other hand, | |
153 look and feel like regular web apps, | |
154 with a big-screen design | |
155 and rich UI. | |
156 The image to the right shows a jigsaw puzzle game | |
157 implemented by a packaged app. | |
158 </p> | |
159 <p> | |
160 Both extensions and packaged apps bundle all their files | |
161 into a single file that the user downloads and installs. | |
162 This bundling means that, unlike ordinary web apps, | |
163 extensions and packaged apps don't need to depend | |
164 on content from the web. | |
165 </p> | |
166 <p> | |
167 You can distribute your extension or packaged app | |
168 by using the | |
169 <a href="https://chrome.google.com/webstore/developer/dashboard">Chrome Develope
r Dashboard</a> | |
170 to publish to the | |
171 <a href="http://chrome.google.com/webstore">Chrome Web Store</a>. | |
172 For more information, see the | |
173 <a href="http://code.google.com/chrome/webstore">store developer documentation</
a>. | |
174 </p> | |
175 </td> | |
176 <td style="width:330px"> | |
177 <h3>How do I start?</h3> | |
178 <p> | |
179 </p><ol> | |
180 <li> | |
181 Follow the <a href="getstarted.html">Getting Started tutorial</a> | |
182 <!-- PENDING: once we have one for packaged apps, change to | |
183 "for _extensions_ or _packaged_apps_" --> | |
184 </li> | |
185 <li> | |
186 Read the | |
187 <a href="overview.html">Overview</a> | |
188 </li> | |
189 <li> | |
190 Keep up-to-date by reading the | |
191 <a href="http://blog.chromium.org/">Chromium blog</a> | |
192 </li> | |
193 <li> | |
194 Subscribe to the | |
195 <a href="http://groups.google.com/a/chromium.org/group/chromium-extensions">
chromium-extensions group</a> | |
196 </li> | |
197 </ol> | |
198 <p></p> | |
199 <h3>Featured videos</h3> | |
200 <p> | |
201 <a href="http://www.youtube.com/view_play_list?p=CA101D6A85FE9D4B">Technical vid
eos</a> <br> | |
202 <a href="http://www.youtube.com/view_play_list?p=38DF05697DE372B1">Developer sna
pshots</a> (below) | |
203 </p> | |
204 <p> | |
205 <iframe title="YouTube video player" width="300" height="199" src="http://www.yo
utube.com/embed/wRDPTnY3yO8?rel=0" frameborder="0" allowfullscreen=""></iframe> | |
206 </p> | |
207 </td> | |
208 </tr> | |
209 </tbody></table> | |
210 </div> | |
211 <!-- API PAGE --> | |
212 <!-- /apiPage --> | |
213 </div> <!-- /gc-pagecontent --> | |
214 </div> <!-- /g-section --> | |
215 </div> <!-- /codesiteContent --> | |
216 <div id="gc-footer" --=""> | |
217 <div class="text"> | |
218 <p> | |
219 Except as otherwise <a href="http://code.google.com/policies.html#restrictions
">noted</a>, | |
220 the content of this page is licensed under the <a rel="license" href="http://c
reativecommons.org/licenses/by/3.0/">Creative Commons | |
221 Attribution 3.0 License</a>, and code samples are licensed under the | |
222 <a rel="license" href="http://code.google.com/google_bsd_license.html">BSD Lic
ense</a>. | |
223 </p> | |
224 <p> | |
225 ©2011 Google | |
226 </p> | |
227 <!-- begin analytics --> | |
228 <script src="https://www.google-analytics.com/urchin.js" type="text/javascript">
</script> | |
229 <script src="https://www.google-analytics.com/ga.js" type="text/javascript"></sc
ript> | |
230 <script type="text/javascript"> | |
231 // chrome doc tracking | |
232 try { | |
233 var engdocs = _gat._getTracker("YT-10763712-2"); | |
234 engdocs._trackPageview(); | |
235 } catch(err) {} | |
236 // code.google.com site-wide tracking | |
237 try { | |
238 _uacct="UA-18071-1"; | |
239 _uanchor=1; | |
240 _uff=0; | |
241 urchinTracker(); | |
242 } | |
243 catch(e) {/* urchinTracker not available. */} | |
244 </script> | |
245 <!-- end analytics --> | |
246 </div> | |
247 </div> <!-- /gc-footer --> | |
248 </div> <!-- /gc-container --> | |
249 </body></html> | |
OLD | NEW |