Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(165)

Side by Side Diff: chrome/common/extensions/docs/match_patterns.html

Issue 6576036: Say that file: access requires user opt-in. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/common/extensions/docs/static/match_patterns.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 322 matching lines...) Expand 10 before | Expand all | Expand 10 after
333 The special pattern 333 The special pattern
334 <code>&lt;all_urls&gt;</code> matches any URL 334 <code>&lt;all_urls&gt;</code> matches any URL
335 that starts with a permitted scheme. 335 that starts with a permitted scheme.
336 Each match pattern has 3 parts:</p> 336 Each match pattern has 3 parts:</p>
337 <p></p> 337 <p></p>
338 338
339 <ul> 339 <ul>
340 <li> <em>scheme</em> — 340 <li> <em>scheme</em> —
341 for example, <code>http</code> or <code>file</code> 341 for example, <code>http</code> or <code>file</code>
342 or <code>*</code> 342 or <code>*</code>
343 <p class="note">
344 <b>Note:</b>
345 Access to <code>file</code> URLs isn't automatic.
346 The user must visit the extensions management page
347 and opt in to <code>file</code> access for each extension that requests it.
348 </p>
343 </li> 349 </li>
344 <li> <em>host</em> — 350 <li> <em>host</em> —
345 for example, <code>www.google.com</code> 351 for example, <code>www.google.com</code>
346 or <code>*.google.com</code> 352 or <code>*.google.com</code>
347 or <code>*</code>; 353 or <code>*</code>;
348 if the scheme is <code>file</code>, 354 if the scheme is <code>file</code>,
349 there is no <em>host</em> part 355 there is no <em>host</em> part
350 </li> 356 </li>
351 <li> <em>path</em> — 357 <li> <em>path</em> —
352 for example, <code>/*</code>, <code>/foo* </code>, 358 for example, <code>/*</code>, <code>/foo* </code>,
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
442 <td> 448 <td>
443 http://example.org/foo/bar.html 449 http://example.org/foo/bar.html
444 </td> 450 </td>
445 </tr> 451 </tr>
446 452
447 <tr> 453 <tr>
448 <td> 454 <td>
449 <code>file:///foo*</code> 455 <code>file:///foo*</code>
450 </td> 456 </td>
451 457
452 <td>Matches any local file whose path starts with <code>/foo</code></td> 458 <td>Matches any local file whose path starts with <code>/foo</code>
459 </td>
453 460
454 <td> 461 <td>
455 file:///foo/bar.html<br> 462 file:///foo/bar.html<br>
456 file:///foo 463 file:///foo
457 </td> 464 </td>
458 </tr> 465 </tr>
459 466
460 <tr> 467 <tr>
461 <td> 468 <td>
462 <code>http://127.0.0.1/*</code> 469 <code>http://127.0.0.1/*</code>
(...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after
733 _uff=0; 740 _uff=0;
734 urchinTracker(); 741 urchinTracker();
735 } 742 }
736 catch(e) {/* urchinTracker not available. */} 743 catch(e) {/* urchinTracker not available. */}
737 </script> 744 </script>
738 <!-- end analytics --> 745 <!-- end analytics -->
739 </div> 746 </div>
740 </div> <!-- /gc-footer --> 747 </div> <!-- /gc-footer -->
741 </div> <!-- /gc-container --> 748 </div> <!-- /gc-container -->
742 </body></html> 749 </body></html>
OLDNEW
« no previous file with comments | « no previous file | chrome/common/extensions/docs/static/match_patterns.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698