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 211 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
222 | 222 |
223 <p>If the extension attempts to use a security origin other than itself, | 223 <p>If the extension attempts to use a security origin other than itself, |
224 say http://www.google.com, | 224 say http://www.google.com, |
225 the browser disallows it | 225 the browser disallows it |
226 unless the extension has requested the appropriate cross-origin permissions. | 226 unless the extension has requested the appropriate cross-origin permissions. |
227 </p> | 227 </p> |
228 | 228 |
229 <h2 id="requesting-permission">Requesting cross-origin permissions</h2> | 229 <h2 id="requesting-permission">Requesting cross-origin permissions</h2> |
230 | 230 |
231 <p>By adding hosts or host match patterns (or both) to the | 231 <p>By adding hosts or host match patterns (or both) to the |
232 <a href="manifest.html#permissions">permissions</a><a> section of the | 232 <a href="manifest.html#permissions">permissions</a> section of the |
233 </a><a href="manifest.html">manifest</a> file, the extension can request access
to | 233 <a href="manifest.html">manifest</a> file, the extension can request access to |
234 remote servers outside of its origin.</p> | 234 remote servers outside of its origin.</p> |
235 | 235 |
236 <pre>"permissions": [ | 236 <pre>"permissions": [ |
237 "http://www.google.com/", | 237 "http://www.google.com/", |
238 ], | 238 ], |
239 </pre> | 239 </pre> |
240 | 240 |
241 <p>Cross-origin permission values can be fully qualified host names, | 241 <p>Cross-origin permission values can be fully qualified host names, |
242 like these:</p> | 242 like these:</p> |
243 | 243 |
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
421 <div id="pageFooter" --=""> | 421 <div id="pageFooter" --=""> |
422 <p> | 422 <p> |
423 Except as otherwise <a href="http://code.google.com/policies.html#restrictions
">noted</a>, | 423 Except as otherwise <a href="http://code.google.com/policies.html#restrictions
">noted</a>, |
424 the content of this page is licensed under the <a rel="license" href="http://c
reativecommons.org/licenses/by/3.0/">Creative Commons | 424 the content of this page is licensed under the <a rel="license" href="http://c
reativecommons.org/licenses/by/3.0/">Creative Commons |
425 Attribution 3.0 License</a>, and code samples are licensed under the | 425 Attribution 3.0 License</a>, and code samples are licensed under the |
426 <a rel="license" href="http://code.google.com/google_bsd_license.html">BSD Lic
ense</a>. | 426 <a rel="license" href="http://code.google.com/google_bsd_license.html">BSD Lic
ense</a>. |
427 </p> | 427 </p> |
428 <p> | 428 <p> |
429 ©2009 Google | 429 ©2009 Google |
430 </p> | 430 </p> |
| 431 |
| 432 <!-- begin analytics --> |
| 433 <script src="http://www.google-analytics.com/urchin.js" type="text/javascript"><
/script> |
| 434 <script src="http://www.google-analytics.com/ga.js" type="text/javascript"></scr
ipt> |
| 435 |
| 436 <script type="text/javascript"> |
| 437 // chrome doc tracking |
| 438 try { |
| 439 var engdocs = _gat._getTracker("YT-10763712-2"); |
| 440 engdocs._trackPageview(); |
| 441 } catch(err) {} |
| 442 |
| 443 // code.google.com site-wide tracking |
| 444 try { |
| 445 _uacct="UA-18071-1"; |
| 446 _uanchor=1; |
| 447 _uff=0; |
| 448 urchinTracker(); |
| 449 } |
| 450 catch(e) {/* urchinTracker not available. */} |
| 451 </script> |
| 452 <!-- end analytics --> |
| 453 |
431 </div> <!-- /pageFooter --> | 454 </div> <!-- /pageFooter --> |
432 </div> <!-- /container --> | 455 </div> <!-- /container --> |
433 </body></html> | 456 </body></html> |
434 | 457 |
OLD | NEW |