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> |
11 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | 11 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
12 <link href="css/ApiRefStyles.css" rel="stylesheet" type="text/css"> | 12 <link href="css/ApiRefStyles.css" rel="stylesheet" type="text/css"> |
13 <link href="css/print.css" rel="stylesheet" type="text/css" media="print"> | 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"> | 14 <script type="text/javascript" src="../../../third_party/jstemplate/jstempla
te_compiled.js"> |
15 </script> | 15 </script> |
16 <script type="text/javascript" src="js/api_page_generator.js"></script> | 16 <script type="text/javascript" src="js/api_page_generator.js"></script> |
17 <script type="text/javascript" src="js/bootstrap.js"></script> | 17 <script type="text/javascript" src="js/bootstrap.js"></script> |
18 <script type="text/javascript" src="js/sidebar.js"></script> | 18 <script type="text/javascript" src="js/sidebar.js"></script> |
19 <title>chrome.contentSettings - Google Chrome Extensions - Google Code</title>
</head> | 19 <title>Content Settings - Google Chrome Extensions - Google Code</title></head
> |
20 <body> <div id="gc-container" class="labs"> | 20 <body> <div id="gc-container" class="labs"> |
21 <div id="devModeWarning"> | 21 <div id="devModeWarning"> |
22 You are viewing extension docs in chrome via the 'file:' scheme: are you
expecting to see local changes when you refresh? You'll need run chrome with --
allow-file-access-from-files. | 22 You are viewing extension docs in chrome via the 'file:' scheme: are you
expecting to see local changes when you refresh? You'll need run chrome with --
allow-file-access-from-files. |
23 </div> | 23 </div> |
24 <!-- SUBTEMPLATES: DO NOT MOVE FROM THIS LOCATION --> | 24 <!-- SUBTEMPLATES: DO NOT MOVE FROM THIS LOCATION --> |
25 <!-- In particular, sub-templates that recurse, must be used by allowing | 25 <!-- In particular, sub-templates that recurse, must be used by allowing |
26 jstemplate to make a copy of the template in this section which | 26 jstemplate to make a copy of the template in this section which |
27 are not operated on by way of the jsskip="true" --> | 27 are not operated on by way of the jsskip="true" --> |
28 <div style="display:none"> | 28 <div style="display:none"> |
29 | 29 |
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
244 </ul> | 244 </ul> |
245 </li> | 245 </li> |
246 </ul> | 246 </ul> |
247 </div> | 247 </div> |
248 <script> | 248 <script> |
249 initToggles(); | 249 initToggles(); |
250 </script> | 250 </script> |
251 | 251 |
252 <div class="g-unit" id="gc-pagecontent"> | 252 <div class="g-unit" id="gc-pagecontent"> |
253 <div id="pageTitle"> | 253 <div id="pageTitle"> |
254 <h1 class="page_title">chrome.contentSettings</h1> | 254 <h1 class="page_title">Content Settings</h1> |
255 </div> | 255 </div> |
256 <!-- TABLE OF CONTENTS --> | 256 <!-- TABLE OF CONTENTS --> |
257 <div id="toc"> | 257 <div id="toc"> |
258 <h2>Contents</h2> | 258 <h2>Contents</h2> |
259 <ol> | 259 <ol> |
260 <li style="display: none; "> | 260 <li> |
261 <a>h2Name</a> | 261 <a href="#manifest">Manifest</a> |
262 <ol> | 262 <ol> |
263 <li> | 263 <li style="display: none; "> |
264 <a>h3Name</a> | 264 <a>h3Name</a> |
265 </li> | 265 </li> |
266 </ol> | 266 </ol> |
| 267 </li><li> |
| 268 <a href="#patterns">Content Setting Patterns</a> |
| 269 <ol> |
| 270 <li> |
| 271 <a href="#pattern-precedence">Pattern Precedence</a> |
| 272 </li> |
| 273 </ol> |
| 274 </li><li> |
| 275 <a href="#primary-secondary">Primary and Secondary Patterns</a> |
| 276 <ol> |
| 277 <li style="display: none; "> |
| 278 <a>h3Name</a> |
| 279 </li> |
| 280 </ol> |
| 281 </li><li> |
| 282 <a href="#resource-identifiers">Resource Identifiers</a> |
| 283 <ol> |
| 284 <li style="display: none; "> |
| 285 <a>h3Name</a> |
| 286 </li> |
| 287 </ol> |
| 288 </li><li> |
| 289 <a href="#examples">Examples</a> |
| 290 <ol> |
| 291 <li style="display: none; "> |
| 292 <a>h3Name</a> |
| 293 </li> |
| 294 </ol> |
267 </li> | 295 </li> |
268 <li> | 296 <li> |
269 <a href="#apiReference">API reference: chrome.contentSettings</a
> | 297 <a href="#apiReference">API reference: chrome.contentSettings</a
> |
270 <ol> | 298 <ol> |
271 <li> | 299 <li> |
272 <a href="#properties">Properties</a> | 300 <a href="#properties">Properties</a> |
273 <ol> | 301 <ol> |
274 <li> | 302 <li> |
275 <a href="#property-cookies">cookies</a> | 303 <a href="#property-cookies">cookies</a> |
276 </li><li> | 304 </li><li> |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
317 </ol> | 345 </ol> |
318 </div> | 346 </div> |
319 <!-- /TABLE OF CONTENTS --> | 347 <!-- /TABLE OF CONTENTS --> |
320 | 348 |
321 <!-- Standard content lead-in for experimental API pages --> | 349 <!-- Standard content lead-in for experimental API pages --> |
322 <p id="classSummary" style="display: none; "> | 350 <p id="classSummary" style="display: none; "> |
323 For information on how to use experimental APIs, see the <a href="expe
rimental.html">chrome.experimental.* APIs</a> page. | 351 For information on how to use experimental APIs, see the <a href="expe
rimental.html">chrome.experimental.* APIs</a> page. |
324 </p> | 352 </p> |
325 | 353 |
326 <!-- STATIC CONTENT PLACEHOLDER --> | 354 <!-- STATIC CONTENT PLACEHOLDER --> |
327 <div id="static"></div> | 355 <div id="static"><div id="pageData-name" class="pageData">Content Settin
gs</div> |
| 356 |
| 357 <!-- BEGIN AUTHORED CONTENT --> |
| 358 <p> |
| 359 The content settings module allows you to change settings that control whether |
| 360 websites can use features such as cookies, Javascript, and plug-ins. |
| 361 More generally speaking, content settings allow you to customize Chrome's |
| 362 behavior on a per-site basis instead of globally.</p> |
| 363 <p> |
| 364 </p> |
| 365 |
| 366 <h2 id="manifest">Manifest</h2> |
| 367 <p>You must declare the "contentSettings" permission |
| 368 in your extension's manifest to use the API. |
| 369 For example:</p> |
| 370 <pre>{ |
| 371 "name": "My extension", |
| 372 ... |
| 373 <b>"permissions": [ |
| 374 "contentSettings" |
| 375 ]</b>, |
| 376 ... |
| 377 }</pre> |
| 378 |
| 379 |
| 380 <h2 id="patterns">Content Setting Patterns</h2> |
| 381 <p> |
| 382 Content settings are applied to specific websites via patterns that define which |
| 383 sites they apply to. <code>http://*.youtube.com/*</code> matches youtube.com and |
| 384 all its subdomains, for example. For further details, see the |
| 385 <a href="match_patterns.html">Match Pattern documentation</a>.</p> |
| 386 <p> |
| 387 Note that there are some differences between patterns for content settings and |
| 388 match patterns: |
| 389 </p><ul><li>For <code>http</code>, |
| 390 <code>https</code>, and <code>ftp</code> URLs the path has to be a wildcard |
| 391 (<code>/*</code>). For <code>file</code> URLs, the path has to be completely |
| 392 specified and is <strong>not</strong> allowed to contain wildcards.</li> |
| 393 <li>In contrast to match patterns, content setting patterns can specify a port |
| 394 number. If a port number is specified, the pattern only matches websites with |
| 395 that port. If no port number is specified, the pattern matches all ports. |
| 396 </li> |
| 397 </ul> |
| 398 <p></p> |
| 399 |
| 400 <h3 id="pattern-precedence">Pattern Precedence</h3> |
| 401 <p> |
| 402 When more than one content setting rule applies for a given site, the rule with |
| 403 the more specific pattern takes precedence. |
| 404 </p> |
| 405 <p>For example, the following patterns are ordered by precedence: |
| 406 </p><ul> |
| 407 <li><code>http://www.example.com/*</code></li> |
| 408 <li><code>http://*.example.com/*</code> (matching |
| 409 example.com and all subdomains)</li> |
| 410 <li><code><all_urls></code> (matching every URL)</li> |
| 411 </ul> |
| 412 There are three ways in which one pattern can be more specific than another |
| 413 pattern: |
| 414 <ul> |
| 415 <li>Wildcards in the port (like <code>http://www.example.com:*/*</code>)</li> |
| 416 <li>Wildcards in the scheme (like <code>*://www.example.com:123/*</code>)</li> |
| 417 <li>Wildcards in the hostname (like |
| 418 <code>http://*.example.com:123/*</code>)</li> |
| 419 </ul> |
| 420 If a pattern is more specific than another pattern in one part but less specific |
| 421 in another part, the different parts are checked in the following order: |
| 422 hostname, scheme, port. That means that for example the list of URLs above is |
| 423 ordered by precedence (the first pattern is more specific in the scheme than the |
| 424 second one, and the second one is more specific in the hostname than the third |
| 425 one). |
| 426 <p></p> |
| 427 |
| 428 <h2 id="primary-secondary">Primary and Secondary Patterns</h2> |
| 429 <p> |
| 430 The URL taken into account when deciding which content setting to apply depends |
| 431 on the content type. For example, for |
| 432 <a href="#property-notifications">notifications</a> settings are |
| 433 based on the URL shown in the omnibox. This URL is called the "primary" URL.</p> |
| 434 <p> |
| 435 Some content types also can take additional URLs into account. For example, |
| 436 whether a site is allowed to set a |
| 437 <a href="#property-cookies">cookie</a> is decided based on the URL |
| 438 of the HTTP request (which is the primary URL in this case) as well as the URL |
| 439 shown in the omnibox (which is called the "secondary" URL). |
| 440 </p> |
| 441 <p> |
| 442 If there are multiple rules with primary and secondary patterns, the rule with |
| 443 the more specific primary pattern takes precedence. If there are multiple rules |
| 444 with the same primary pattern, the rule with the more specific secondary pattern |
| 445 takes precedence. For example, the following list of primary/secondary pattern |
| 446 pairs is ordered by precedence: |
| 447 </p><table> |
| 448 <tbody><tr> |
| 449 <td><code>http://www.moose.com/*</code>, </td> |
| 450 <td><code>http://www.wombat.com/*</code></td> |
| 451 </tr><tr> |
| 452 <td><code>http://www.moose.com/*</code>, </td> |
| 453 <td><code><all_urls></code></td> |
| 454 </tr><tr> |
| 455 <td><code><all_urls></code>, </td> |
| 456 <td><code>http://www.wombat.com/*</code></td> |
| 457 </tr><tr> |
| 458 <td><code><all_urls></code>, </td> |
| 459 <td><code><all_urls></code></td> |
| 460 </tr> |
| 461 </tbody></table> |
| 462 <p></p> |
| 463 |
| 464 <h2 id="resource-identifiers">Resource Identifiers</h2> |
| 465 <p> |
| 466 Resource identifiers allow you to specify content settings for specific |
| 467 sub-types of a content type. Currently, the only content type that supports |
| 468 resource identifiers is <a href="#property-plugins"><code>plugins</code></a>, |
| 469 where a resource identifier identifies a specific plug-in. When applying content |
| 470 settings, first the settings for the specific plug-in are checked. If there are |
| 471 no settings found for the specific plug-in, the general content settings for |
| 472 plug-ins are checked. |
| 473 </p> |
| 474 <p> |
| 475 For example, if there is a content setting rule with the resource identifier |
| 476 <code>adobe-flash-player</code> and the pattern <code><all_urls></code>, |
| 477 it takes precedence over a rule without a resource identifier and the pattern |
| 478 <code>http://www.example.com/*</code>, even if that pattern is more specific. |
| 479 </p> |
| 480 <p> |
| 481 You can get a list of resource identifiers for a content type by calling the |
| 482 <a href=""><code>getResourceIdentifiers</code></a> method. The returned list can |
| 483 change with the set of installed plug-ins on the user's machine, but Chrome |
| 484 tries to keep the identifiers stable across plug-in updates. |
| 485 </p> |
| 486 |
| 487 <h2 id="examples">Examples</h2> |
| 488 |
| 489 <p> |
| 490 You can find samples of this API on the |
| 491 <a href="samples.html#contentSettings">sample page</a>. |
| 492 </p> |
| 493 |
| 494 <!-- END AUTHORED CONTENT --> |
| 495 </div> |
328 | 496 |
329 <!-- API PAGE --> | 497 <!-- API PAGE --> |
330 <div class="apiPage"> | 498 <div class="apiPage"> |
331 <a name="apiReference"></a> | 499 <a name="apiReference"></a> |
332 <h2>API reference: chrome.contentSettings</h2> | 500 <h2>API reference: chrome.contentSettings</h2> |
333 | 501 |
334 <!-- PROPERTIES --> | 502 <!-- PROPERTIES --> |
335 <div class="apiGroup"> | 503 <div class="apiGroup"> |
336 <a name="properties"></a> | 504 <a name="properties"></a> |
337 <h3 id="properties">Properties</h3> | 505 <h3 id="properties">Properties</h3> |
(...skipping 28 matching lines...) Expand all Loading... |
366 </span> | 534 </span> |
367 </span> | 535 </span> |
368 ) | 536 ) |
369 </div> | 537 </div> |
370 | 538 |
371 </em> | 539 </em> |
372 </dt> | 540 </dt> |
373 <dd class="todo" style="display: none; "> | 541 <dd class="todo" style="display: none; "> |
374 Undocumented. | 542 Undocumented. |
375 </dd> | 543 </dd> |
376 <dd>Whether to allow cookies and other local data to be set by website
s. One of<br><var>allow</var>: Accept cookies,<br><var>block</var>: Block cookie
s,<br><var>session_only</var>: Accept cookies only for the current session. Defa
ult is <var>allow</var>.<br>The primary URL is the URL representing the cookie o
rigin. The secondary URL is the URL of the top-level frame.</dd> | 544 <dd>Whether to allow cookies and other local data to be set by website
s. One of<br><var>allow</var>: Accept cookies,<br><var>block</var>: Block cookie
s,<br><var>session_only</var>: Accept cookies only for the current session. <br>
Default is <var>allow</var>.<br>The primary URL is the URL representing the cook
ie origin. The secondary URL is the URL of the top-level frame.</dd> |
377 <dd style="display: none; "> | 545 <dd style="display: none; "> |
378 This parameter was added in version | 546 This parameter was added in version |
379 <b><span></span></b>. | 547 <b><span></span></b>. |
380 You must omit this parameter in earlier versions, | 548 You must omit this parameter in earlier versions, |
381 and you may omit it in any version. If you require this | 549 and you may omit it in any version. If you require this |
382 parameter, the manifest key | 550 parameter, the manifest key |
383 <a href="manifest.html#minimum_chrome_version">minimum_chrome_versio
n</a> | 551 <a href="manifest.html#minimum_chrome_version">minimum_chrome_versio
n</a> |
384 can ensure that your extension won't be run in an earlier browser ve
rsion. | 552 can ensure that your extension won't be run in an earlier browser ve
rsion. |
385 </dd> | 553 </dd> |
386 | 554 |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
440 </span> | 608 </span> |
441 </span> | 609 </span> |
442 ) | 610 ) |
443 </div> | 611 </div> |
444 | 612 |
445 </em> | 613 </em> |
446 </dt> | 614 </dt> |
447 <dd class="todo" style="display: none; "> | 615 <dd class="todo" style="display: none; "> |
448 Undocumented. | 616 Undocumented. |
449 </dd> | 617 </dd> |
450 <dd>Whether to show images. One of<br><var>allow</var>: Show images,<b
r><var>block</var>: Don't show images. Default is <var>allow</var>.<br>The prima
ry URL is the main-frame URL. The secondary URL is not used.</dd> | 618 <dd>Whether to show images. One of<br><var>allow</var>: Show images,<b
r><var>block</var>: Don't show images. <br>Default is <var>allow</var>.<br>The p
rimary URL is the main-frame URL. The secondary URL is not used.</dd> |
451 <dd style="display: none; "> | 619 <dd style="display: none; "> |
452 This parameter was added in version | 620 This parameter was added in version |
453 <b><span></span></b>. | 621 <b><span></span></b>. |
454 You must omit this parameter in earlier versions, | 622 You must omit this parameter in earlier versions, |
455 and you may omit it in any version. If you require this | 623 and you may omit it in any version. If you require this |
456 parameter, the manifest key | 624 parameter, the manifest key |
457 <a href="manifest.html#minimum_chrome_version">minimum_chrome_versio
n</a> | 625 <a href="manifest.html#minimum_chrome_version">minimum_chrome_versio
n</a> |
458 can ensure that your extension won't be run in an earlier browser ve
rsion. | 626 can ensure that your extension won't be run in an earlier browser ve
rsion. |
459 </dd> | 627 </dd> |
460 | 628 |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
514 </span> | 682 </span> |
515 </span> | 683 </span> |
516 ) | 684 ) |
517 </div> | 685 </div> |
518 | 686 |
519 </em> | 687 </em> |
520 </dt> | 688 </dt> |
521 <dd class="todo" style="display: none; "> | 689 <dd class="todo" style="display: none; "> |
522 Undocumented. | 690 Undocumented. |
523 </dd> | 691 </dd> |
524 <dd>Whether to run Javascript. One of<br><var>allow</var>: Run Javascr
ipt,<br><var>block</var>: Don't run Javascript. Default is <var>allow</var>.<br>
The primary URL is the main-frame URL. The secondary URL is not used.</dd> | 692 <dd>Whether to run JavaScript. One of<br><var>allow</var>: Run JavaScr
ipt,<br><var>block</var>: Don't run JavaScript. <br>Default is <var>allow</var>.
<br>The primary URL is the main-frame URL. The secondary URL is not used.</dd> |
525 <dd style="display: none; "> | 693 <dd style="display: none; "> |
526 This parameter was added in version | 694 This parameter was added in version |
527 <b><span></span></b>. | 695 <b><span></span></b>. |
528 You must omit this parameter in earlier versions, | 696 You must omit this parameter in earlier versions, |
529 and you may omit it in any version. If you require this | 697 and you may omit it in any version. If you require this |
530 parameter, the manifest key | 698 parameter, the manifest key |
531 <a href="manifest.html#minimum_chrome_version">minimum_chrome_versio
n</a> | 699 <a href="manifest.html#minimum_chrome_version">minimum_chrome_versio
n</a> |
532 can ensure that your extension won't be run in an earlier browser ve
rsion. | 700 can ensure that your extension won't be run in an earlier browser ve
rsion. |
533 </dd> | 701 </dd> |
534 | 702 |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
588 </span> | 756 </span> |
589 </span> | 757 </span> |
590 ) | 758 ) |
591 </div> | 759 </div> |
592 | 760 |
593 </em> | 761 </em> |
594 </dt> | 762 </dt> |
595 <dd class="todo" style="display: none; "> | 763 <dd class="todo" style="display: none; "> |
596 Undocumented. | 764 Undocumented. |
597 </dd> | 765 </dd> |
598 <dd>Whether to run plug-ins. One of<br><var>allow</var>: Run plug-ins
automatically,<br><var>block</var>: Don't run plug-ins automatically. Default is
<var>allow</var>.<br>The primary URL is the main-frame URL. The secondary URL i
s not used.</dd> | 766 <dd>Whether to run plug-ins. One of<br><var>allow</var>: Run plug-ins
automatically,<br><var>block</var>: Don't run plug-ins automatically. <br>Defaul
t is <var>allow</var>.<br>The primary URL is the main-frame URL. The secondary U
RL is not used.</dd> |
599 <dd style="display: none; "> | 767 <dd style="display: none; "> |
600 This parameter was added in version | 768 This parameter was added in version |
601 <b><span></span></b>. | 769 <b><span></span></b>. |
602 You must omit this parameter in earlier versions, | 770 You must omit this parameter in earlier versions, |
603 and you may omit it in any version. If you require this | 771 and you may omit it in any version. If you require this |
604 parameter, the manifest key | 772 parameter, the manifest key |
605 <a href="manifest.html#minimum_chrome_version">minimum_chrome_versio
n</a> | 773 <a href="manifest.html#minimum_chrome_version">minimum_chrome_versio
n</a> |
606 can ensure that your extension won't be run in an earlier browser ve
rsion. | 774 can ensure that your extension won't be run in an earlier browser ve
rsion. |
607 </dd> | 775 </dd> |
608 | 776 |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
662 </span> | 830 </span> |
663 </span> | 831 </span> |
664 ) | 832 ) |
665 </div> | 833 </div> |
666 | 834 |
667 </em> | 835 </em> |
668 </dt> | 836 </dt> |
669 <dd class="todo" style="display: none; "> | 837 <dd class="todo" style="display: none; "> |
670 Undocumented. | 838 Undocumented. |
671 </dd> | 839 </dd> |
672 <dd>Whether to allow sites to show pop-ups. One of<br><var>allow</var>
: Allow sites to show pop-ups,<br><var>block</var>: Don't allow sites to show po
p-ups. Default is <var>block</var>.<br>The primary URL is the main-frame URL. Th
e secondary URL is not used.</dd> | 840 <dd>Whether to allow sites to show pop-ups. One of<br><var>allow</var>
: Allow sites to show pop-ups,<br><var>block</var>: Don't allow sites to show po
p-ups. <br>Default is <var>block</var>.<br>The primary URL is the main-frame URL
. The secondary URL is not used.</dd> |
673 <dd style="display: none; "> | 841 <dd style="display: none; "> |
674 This parameter was added in version | 842 This parameter was added in version |
675 <b><span></span></b>. | 843 <b><span></span></b>. |
676 You must omit this parameter in earlier versions, | 844 You must omit this parameter in earlier versions, |
677 and you may omit it in any version. If you require this | 845 and you may omit it in any version. If you require this |
678 parameter, the manifest key | 846 parameter, the manifest key |
679 <a href="manifest.html#minimum_chrome_version">minimum_chrome_versio
n</a> | 847 <a href="manifest.html#minimum_chrome_version">minimum_chrome_versio
n</a> |
680 can ensure that your extension won't be run in an earlier browser ve
rsion. | 848 can ensure that your extension won't be run in an earlier browser ve
rsion. |
681 </dd> | 849 </dd> |
682 | 850 |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
736 </span> | 904 </span> |
737 </span> | 905 </span> |
738 ) | 906 ) |
739 </div> | 907 </div> |
740 | 908 |
741 </em> | 909 </em> |
742 </dt> | 910 </dt> |
743 <dd class="todo" style="display: none; "> | 911 <dd class="todo" style="display: none; "> |
744 Undocumented. | 912 Undocumented. |
745 </dd> | 913 </dd> |
746 <dd>Whether to allow sites to show desktop notifications. One of<br><v
ar>allow</var>: Allow sites to show desktop notifications,<br><var>block</var>:
Don't allow sites to show desktop notifications,<br><var>ask</var>: Ask when a s
ite wants to show desktop notifications. Default is <var>ask</var>.<br>The prima
ry URL is the main-frame URL. The secondary URL is not used.</dd> | 914 <dd>Whether to allow sites to show desktop notifications. One of<br><v
ar>allow</var>: Allow sites to show desktop notifications,<br><var>block</var>:
Don't allow sites to show desktop notifications,<br><var>ask</var>: Ask when a s
ite wants to show desktop notifications. <br>Default is <var>ask</var>.<br>The p
rimary URL is the main-frame URL. The secondary URL is not used.</dd> |
747 <dd style="display: none; "> | 915 <dd style="display: none; "> |
748 This parameter was added in version | 916 This parameter was added in version |
749 <b><span></span></b>. | 917 <b><span></span></b>. |
750 You must omit this parameter in earlier versions, | 918 You must omit this parameter in earlier versions, |
751 and you may omit it in any version. If you require this | 919 and you may omit it in any version. If you require this |
752 parameter, the manifest key | 920 parameter, the manifest key |
753 <a href="manifest.html#minimum_chrome_version">minimum_chrome_versio
n</a> | 921 <a href="manifest.html#minimum_chrome_version">minimum_chrome_versio
n</a> |
754 can ensure that your extension won't be run in an earlier browser ve
rsion. | 922 can ensure that your extension won't be run in an earlier browser ve
rsion. |
755 </dd> | 923 </dd> |
756 | 924 |
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
949 </span> | 1117 </span> |
950 </span> | 1118 </span> |
951 ) | 1119 ) |
952 </div> | 1120 </div> |
953 | 1121 |
954 </em> | 1122 </em> |
955 </dt> | 1123 </dt> |
956 <dd class="todo" style="display: none; "> | 1124 <dd class="todo" style="display: none; "> |
957 Undocumented. | 1125 Undocumented. |
958 </dd> | 1126 </dd> |
959 <dd>The only content type using resource identifiers is <var>plugins</
var>. Using a resource identifier allows an extension to specify content setting
s applying only to a specific plug-in. If no rule for the specific plug-in is fo
und, the rules without resource identifiers are applied.</dd> | 1127 <dd>The only content type using resource identifiers is <a href="conte
ntSettings.html#property-plugins"><var>plugins</var></a>. For more information,
see <a href="contentSettings.html#resource-identifiers">Resource Identifiers</a>
.</dd> |
960 <dd style="display: none; "> | 1128 <dd style="display: none; "> |
961 This parameter was added in version | 1129 This parameter was added in version |
962 <b><span></span></b>. | 1130 <b><span></span></b>. |
963 You must omit this parameter in earlier versions, | 1131 You must omit this parameter in earlier versions, |
964 and you may omit it in any version. If you require this | 1132 and you may omit it in any version. If you require this |
965 parameter, the manifest key | 1133 parameter, the manifest key |
966 <a href="manifest.html#minimum_chrome_version">minimum_chrome_versio
n</a> | 1134 <a href="manifest.html#minimum_chrome_version">minimum_chrome_versio
n</a> |
967 can ensure that your extension won't be run in an earlier browser ve
rsion. | 1135 can ensure that your extension won't be run in an earlier browser ve
rsion. |
968 </dd> | 1136 </dd> |
969 | 1137 |
(...skipping 1388 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2358 </span> | 2526 </span> |
2359 </span> | 2527 </span> |
2360 ) | 2528 ) |
2361 </div> | 2529 </div> |
2362 | 2530 |
2363 </em> | 2531 </em> |
2364 </dt> | 2532 </dt> |
2365 <dd class="todo" style="display: none; "> | 2533 <dd class="todo" style="display: none; "> |
2366 Undocumented. | 2534 Undocumented. |
2367 </dd> | 2535 </dd> |
2368 <dd>The pattern for the primary URL. For details on the format of a pa
ttern, see <a href="match_patterns.html">Match Patterns</a>.</dd> | 2536 <dd>The pattern for the primary URL. For details on the format of a pa
ttern, see <a href="contentSettings.html#patterns">Content Setting Patterns</a>.
</dd> |
2369 <dd style="display: none; "> | 2537 <dd style="display: none; "> |
2370 This parameter was added in version | 2538 This parameter was added in version |
2371 <b><span></span></b>. | 2539 <b><span></span></b>. |
2372 You must omit this parameter in earlier versions, | 2540 You must omit this parameter in earlier versions, |
2373 and you may omit it in any version. If you require this | 2541 and you may omit it in any version. If you require this |
2374 parameter, the manifest key | 2542 parameter, the manifest key |
2375 <a href="manifest.html#minimum_chrome_version">minimum_chrome_versio
n</a> | 2543 <a href="manifest.html#minimum_chrome_version">minimum_chrome_versio
n</a> |
2376 can ensure that your extension won't be run in an earlier browser ve
rsion. | 2544 can ensure that your extension won't be run in an earlier browser ve
rsion. |
2377 </dd> | 2545 </dd> |
2378 | 2546 |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2426 </span> | 2594 </span> |
2427 </span> | 2595 </span> |
2428 ) | 2596 ) |
2429 </div> | 2597 </div> |
2430 | 2598 |
2431 </em> | 2599 </em> |
2432 </dt> | 2600 </dt> |
2433 <dd class="todo" style="display: none; "> | 2601 <dd class="todo" style="display: none; "> |
2434 Undocumented. | 2602 Undocumented. |
2435 </dd> | 2603 </dd> |
2436 <dd>The pattern for the secondary URL. Defaults to matching all URLs.
For details on the format of a pattern, see <a href="match_patterns.html">Match
Patterns</a>.</dd> | 2604 <dd>The pattern for the secondary URL. Defaults to matching all URLs.
For details on the format of a pattern, see <a href="contentSettings.html#patter
ns">Content Setting Patterns</a>.</dd> |
2437 <dd style="display: none; "> | 2605 <dd style="display: none; "> |
2438 This parameter was added in version | 2606 This parameter was added in version |
2439 <b><span></span></b>. | 2607 <b><span></span></b>. |
2440 You must omit this parameter in earlier versions, | 2608 You must omit this parameter in earlier versions, |
2441 and you may omit it in any version. If you require this | 2609 and you may omit it in any version. If you require this |
2442 parameter, the manifest key | 2610 parameter, the manifest key |
2443 <a href="manifest.html#minimum_chrome_version">minimum_chrome_versio
n</a> | 2611 <a href="manifest.html#minimum_chrome_version">minimum_chrome_versio
n</a> |
2444 can ensure that your extension won't be run in an earlier browser ve
rsion. | 2612 can ensure that your extension won't be run in an earlier browser ve
rsion. |
2445 </dd> | 2613 </dd> |
2446 | 2614 |
(...skipping 417 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2864 _uff=0; | 3032 _uff=0; |
2865 urchinTracker(); | 3033 urchinTracker(); |
2866 } | 3034 } |
2867 catch(e) {/* urchinTracker not available. */} | 3035 catch(e) {/* urchinTracker not available. */} |
2868 </script> | 3036 </script> |
2869 <!-- end analytics --> | 3037 <!-- end analytics --> |
2870 </div> | 3038 </div> |
2871 </div> <!-- /gc-footer --> | 3039 </div> <!-- /gc-footer --> |
2872 </div> <!-- /gc-container --> | 3040 </div> <!-- /gc-container --> |
2873 </body></html> | 3041 </body></html> |
OLD | NEW |