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 247 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
258 <p> | 258 <p> |
259 If you need to specify HTML | 259 If you need to specify HTML |
260 in your background page, you can | 260 in your background page, you can |
261 do that using the <code>page</code> | 261 do that using the <code>page</code> |
262 property instead: | 262 property instead: |
263 </p> | 263 </p> |
264 <pre>{ | 264 <pre>{ |
265 "name": "My extension", | 265 "name": "My extension", |
266 ... | 266 ... |
267 <b>"background": { | 267 <b>"background": { |
268 "page": ["background.html"] | 268 "page": "background.html" |
269 }</b>, | 269 }</b>, |
270 ... | 270 ... |
271 }</pre> | 271 }</pre> |
272 <p> | 272 <p> |
273 If you need the browser to start up early—so | 273 If you need the browser to start up early—so |
274 you can display notifications, for example—then | 274 you can display notifications, for example—then |
275 you might also want to specify the | 275 you might also want to specify the |
276 <a href="manifest.html#permissions">"background" permission</a>. | 276 <a href="manifest.html#permissions">"background" permission</a>. |
277 </p> | 277 </p> |
278 <a name="H2-1"></a><h2>Details</h2> | 278 <a name="H2-1"></a><h2>Details</h2> |
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
370 _uff=0; | 370 _uff=0; |
371 urchinTracker(); | 371 urchinTracker(); |
372 } | 372 } |
373 catch(e) {/* urchinTracker not available. */} | 373 catch(e) {/* urchinTracker not available. */} |
374 </script> | 374 </script> |
375 <!-- end analytics --> | 375 <!-- end analytics --> |
376 </div> | 376 </div> |
377 </div> <!-- /gc-footer --> | 377 </div> <!-- /gc-footer --> |
378 </div> <!-- /gc-container --> | 378 </div> <!-- /gc-container --> |
379 </body></html> | 379 </body></html> |
OLD | NEW |