| 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 224 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 235 <a href="#property-popups">popups</a> | 235 <a href="#property-popups">popups</a> |
| 236 </li><li> | 236 </li><li> |
| 237 <a href="#property-notifications">notifications</a> | 237 <a href="#property-notifications">notifications</a> |
| 238 </li> | 238 </li> |
| 239 </ol> | 239 </ol> |
| 240 </li> | 240 </li> |
| 241 <li> | 241 <li> |
| 242 <a href="#types">Types</a> | 242 <a href="#types">Types</a> |
| 243 <ol> | 243 <ol> |
| 244 <li> | 244 <li> |
| 245 <a href="#type-ResourceIdentifier">null</a> | 245 <a href="#type-contentSettings.ResourceIdentifier">ResourceIdent
ifier</a> |
| 246 <ol> | 246 <ol> |
| 247 </ol> | 247 </ol> |
| 248 </li><li> | 248 </li><li> |
| 249 <a href="#type-ContentSetting">null</a> | 249 <a href="#type-contentSettings.ContentSetting">ContentSetting</a
> |
| 250 <ol> | 250 <ol> |
| 251 <li> | 251 <li> |
| 252 <a href="#global-ContentSetting-methods">Methods</a> | 252 <a href="#global-contentSettings.ContentSetting-methods">Methods</a> |
| 253 <ol> | 253 <ol> |
| 254 <li> | 254 <li> |
| 255 <a href="#method-ContentSetting-clear">clear</a> | 255 <a href="#method-contentSettings.ContentSetting-clear">clear</a> |
| 256 </li><li> | 256 </li><li> |
| 257 <a href="#method-ContentSetting-get">get</a> | 257 <a href="#method-contentSettings.ContentSetting-get">get</a> |
| 258 </li><li> | 258 </li><li> |
| 259 <a href="#method-ContentSetting-getResourceIdentifiers">getResou
rceIdentifiers</a> | 259 <a href="#method-contentSettings.ContentSetting-getResourceIdent
ifiers">getResourceIdentifiers</a> |
| 260 </li><li> | 260 </li><li> |
| 261 <a href="#method-ContentSetting-set">set</a> | 261 <a href="#method-contentSettings.ContentSetting-set">set</a> |
| 262 </li> | 262 </li> |
| 263 </ol> | 263 </ol> |
| 264 </li> | 264 </li> |
| 265 </ol> | 265 </ol> |
| 266 </li> | 266 </li> |
| 267 </ol> | 267 </ol> |
| 268 </li> | 268 </li> |
| 269 </ol> | 269 </ol> |
| 270 </li> | 270 </li> |
| 271 </ol> | 271 </ol> |
| (...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 434 </div> | 434 </div> |
| 435 <div> | 435 <div> |
| 436 <dt> | 436 <dt> |
| 437 <var>cookies</var> | 437 <var>cookies</var> |
| 438 <em> | 438 <em> |
| 439 <!-- TYPE --> | 439 <!-- TYPE --> |
| 440 <div style="display:inline"> | 440 <div style="display:inline"> |
| 441 ( | 441 ( |
| 442 <span id="typeTemplate"> | 442 <span id="typeTemplate"> |
| 443 <span> | 443 <span> |
| 444 <a href="contentSettings.html#type-ContentSetting">Conte
ntSetting</a> | 444 <a href="contentSettings.html#type-contentSettings.Conte
ntSetting">contentSettings.ContentSetting</a> |
| 445 </span> | 445 </span> |
| 446 </span> | 446 </span> |
| 447 ) | 447 ) |
| 448 </div> | 448 </div> |
| 449 </em> | 449 </em> |
| 450 </dt> | 450 </dt> |
| 451 <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> | 451 <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> |
| 452 <!-- OBJECT PROPERTIES --> | 452 <!-- OBJECT PROPERTIES --> |
| 453 <!-- OBJECT METHODS --> | 453 <!-- OBJECT METHODS --> |
| 454 <!-- OBJECT EVENT FIELDS --> | 454 <!-- OBJECT EVENT FIELDS --> |
| 455 <!-- FUNCTION PARAMETERS --> | 455 <!-- FUNCTION PARAMETERS --> |
| 456 </div> | 456 </div> |
| 457 </div><div> | 457 </div><div> |
| 458 <a name="property-images"></a> | 458 <a name="property-images"></a> |
| 459 <h4>images</h4> | 459 <h4>images</h4> |
| 460 <div class="summary"> | 460 <div class="summary"> |
| 461 <!-- Note: intentionally longer 80 columns --> | 461 <!-- Note: intentionally longer 80 columns --> |
| 462 <span>chrome.contentSettings.</span><span>images</span> | 462 <span>chrome.contentSettings.</span><span>images</span> |
| 463 </div> | 463 </div> |
| 464 <div> | 464 <div> |
| 465 <dt> | 465 <dt> |
| 466 <var>images</var> | 466 <var>images</var> |
| 467 <em> | 467 <em> |
| 468 <!-- TYPE --> | 468 <!-- TYPE --> |
| 469 <div style="display:inline"> | 469 <div style="display:inline"> |
| 470 ( | 470 ( |
| 471 <span id="typeTemplate"> | 471 <span id="typeTemplate"> |
| 472 <span> | 472 <span> |
| 473 <a href="contentSettings.html#type-ContentSetting">Conte
ntSetting</a> | 473 <a href="contentSettings.html#type-contentSettings.Conte
ntSetting">contentSettings.ContentSetting</a> |
| 474 </span> | 474 </span> |
| 475 </span> | 475 </span> |
| 476 ) | 476 ) |
| 477 </div> | 477 </div> |
| 478 </em> | 478 </em> |
| 479 </dt> | 479 </dt> |
| 480 <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 the URL of the image.</dd
> | 480 <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 the URL of the image.</dd
> |
| 481 <!-- OBJECT PROPERTIES --> | 481 <!-- OBJECT PROPERTIES --> |
| 482 <!-- OBJECT METHODS --> | 482 <!-- OBJECT METHODS --> |
| 483 <!-- OBJECT EVENT FIELDS --> | 483 <!-- OBJECT EVENT FIELDS --> |
| 484 <!-- FUNCTION PARAMETERS --> | 484 <!-- FUNCTION PARAMETERS --> |
| 485 </div> | 485 </div> |
| 486 </div><div> | 486 </div><div> |
| 487 <a name="property-javascript"></a> | 487 <a name="property-javascript"></a> |
| 488 <h4>javascript</h4> | 488 <h4>javascript</h4> |
| 489 <div class="summary"> | 489 <div class="summary"> |
| 490 <!-- Note: intentionally longer 80 columns --> | 490 <!-- Note: intentionally longer 80 columns --> |
| 491 <span>chrome.contentSettings.</span><span>javascript</span> | 491 <span>chrome.contentSettings.</span><span>javascript</span> |
| 492 </div> | 492 </div> |
| 493 <div> | 493 <div> |
| 494 <dt> | 494 <dt> |
| 495 <var>javascript</var> | 495 <var>javascript</var> |
| 496 <em> | 496 <em> |
| 497 <!-- TYPE --> | 497 <!-- TYPE --> |
| 498 <div style="display:inline"> | 498 <div style="display:inline"> |
| 499 ( | 499 ( |
| 500 <span id="typeTemplate"> | 500 <span id="typeTemplate"> |
| 501 <span> | 501 <span> |
| 502 <a href="contentSettings.html#type-ContentSetting">Conte
ntSetting</a> | 502 <a href="contentSettings.html#type-contentSettings.Conte
ntSetting">contentSettings.ContentSetting</a> |
| 503 </span> | 503 </span> |
| 504 </span> | 504 </span> |
| 505 ) | 505 ) |
| 506 </div> | 506 </div> |
| 507 </em> | 507 </em> |
| 508 </dt> | 508 </dt> |
| 509 <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> | 509 <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> |
| 510 <!-- OBJECT PROPERTIES --> | 510 <!-- OBJECT PROPERTIES --> |
| 511 <!-- OBJECT METHODS --> | 511 <!-- OBJECT METHODS --> |
| 512 <!-- OBJECT EVENT FIELDS --> | 512 <!-- OBJECT EVENT FIELDS --> |
| 513 <!-- FUNCTION PARAMETERS --> | 513 <!-- FUNCTION PARAMETERS --> |
| 514 </div> | 514 </div> |
| 515 </div><div> | 515 </div><div> |
| 516 <a name="property-plugins"></a> | 516 <a name="property-plugins"></a> |
| 517 <h4>plugins</h4> | 517 <h4>plugins</h4> |
| 518 <div class="summary"> | 518 <div class="summary"> |
| 519 <!-- Note: intentionally longer 80 columns --> | 519 <!-- Note: intentionally longer 80 columns --> |
| 520 <span>chrome.contentSettings.</span><span>plugins</span> | 520 <span>chrome.contentSettings.</span><span>plugins</span> |
| 521 </div> | 521 </div> |
| 522 <div> | 522 <div> |
| 523 <dt> | 523 <dt> |
| 524 <var>plugins</var> | 524 <var>plugins</var> |
| 525 <em> | 525 <em> |
| 526 <!-- TYPE --> | 526 <!-- TYPE --> |
| 527 <div style="display:inline"> | 527 <div style="display:inline"> |
| 528 ( | 528 ( |
| 529 <span id="typeTemplate"> | 529 <span id="typeTemplate"> |
| 530 <span> | 530 <span> |
| 531 <a href="contentSettings.html#type-ContentSetting">Conte
ntSetting</a> | 531 <a href="contentSettings.html#type-contentSettings.Conte
ntSetting">contentSettings.ContentSetting</a> |
| 532 </span> | 532 </span> |
| 533 </span> | 533 </span> |
| 534 ) | 534 ) |
| 535 </div> | 535 </div> |
| 536 </em> | 536 </em> |
| 537 </dt> | 537 </dt> |
| 538 <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> | 538 <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> |
| 539 <!-- OBJECT PROPERTIES --> | 539 <!-- OBJECT PROPERTIES --> |
| 540 <!-- OBJECT METHODS --> | 540 <!-- OBJECT METHODS --> |
| 541 <!-- OBJECT EVENT FIELDS --> | 541 <!-- OBJECT EVENT FIELDS --> |
| 542 <!-- FUNCTION PARAMETERS --> | 542 <!-- FUNCTION PARAMETERS --> |
| 543 </div> | 543 </div> |
| 544 </div><div> | 544 </div><div> |
| 545 <a name="property-popups"></a> | 545 <a name="property-popups"></a> |
| 546 <h4>popups</h4> | 546 <h4>popups</h4> |
| 547 <div class="summary"> | 547 <div class="summary"> |
| 548 <!-- Note: intentionally longer 80 columns --> | 548 <!-- Note: intentionally longer 80 columns --> |
| 549 <span>chrome.contentSettings.</span><span>popups</span> | 549 <span>chrome.contentSettings.</span><span>popups</span> |
| 550 </div> | 550 </div> |
| 551 <div> | 551 <div> |
| 552 <dt> | 552 <dt> |
| 553 <var>popups</var> | 553 <var>popups</var> |
| 554 <em> | 554 <em> |
| 555 <!-- TYPE --> | 555 <!-- TYPE --> |
| 556 <div style="display:inline"> | 556 <div style="display:inline"> |
| 557 ( | 557 ( |
| 558 <span id="typeTemplate"> | 558 <span id="typeTemplate"> |
| 559 <span> | 559 <span> |
| 560 <a href="contentSettings.html#type-ContentSetting">Conte
ntSetting</a> | 560 <a href="contentSettings.html#type-contentSettings.Conte
ntSetting">contentSettings.ContentSetting</a> |
| 561 </span> | 561 </span> |
| 562 </span> | 562 </span> |
| 563 ) | 563 ) |
| 564 </div> | 564 </div> |
| 565 </em> | 565 </em> |
| 566 </dt> | 566 </dt> |
| 567 <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> | 567 <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> |
| 568 <!-- OBJECT PROPERTIES --> | 568 <!-- OBJECT PROPERTIES --> |
| 569 <!-- OBJECT METHODS --> | 569 <!-- OBJECT METHODS --> |
| 570 <!-- OBJECT EVENT FIELDS --> | 570 <!-- OBJECT EVENT FIELDS --> |
| 571 <!-- FUNCTION PARAMETERS --> | 571 <!-- FUNCTION PARAMETERS --> |
| 572 </div> | 572 </div> |
| 573 </div><div> | 573 </div><div> |
| 574 <a name="property-notifications"></a> | 574 <a name="property-notifications"></a> |
| 575 <h4>notifications</h4> | 575 <h4>notifications</h4> |
| 576 <div class="summary"> | 576 <div class="summary"> |
| 577 <!-- Note: intentionally longer 80 columns --> | 577 <!-- Note: intentionally longer 80 columns --> |
| 578 <span>chrome.contentSettings.</span><span>notifications</span> | 578 <span>chrome.contentSettings.</span><span>notifications</span> |
| 579 </div> | 579 </div> |
| 580 <div> | 580 <div> |
| 581 <dt> | 581 <dt> |
| 582 <var>notifications</var> | 582 <var>notifications</var> |
| 583 <em> | 583 <em> |
| 584 <!-- TYPE --> | 584 <!-- TYPE --> |
| 585 <div style="display:inline"> | 585 <div style="display:inline"> |
| 586 ( | 586 ( |
| 587 <span id="typeTemplate"> | 587 <span id="typeTemplate"> |
| 588 <span> | 588 <span> |
| 589 <a href="contentSettings.html#type-ContentSetting">Conte
ntSetting</a> | 589 <a href="contentSettings.html#type-contentSettings.Conte
ntSetting">contentSettings.ContentSetting</a> |
| 590 </span> | 590 </span> |
| 591 </span> | 591 </span> |
| 592 ) | 592 ) |
| 593 </div> | 593 </div> |
| 594 </em> | 594 </em> |
| 595 </dt> | 595 </dt> |
| 596 <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> | 596 <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> |
| 597 <!-- OBJECT PROPERTIES --> | 597 <!-- OBJECT PROPERTIES --> |
| 598 <!-- OBJECT METHODS --> | 598 <!-- OBJECT METHODS --> |
| 599 <!-- OBJECT EVENT FIELDS --> | 599 <!-- OBJECT EVENT FIELDS --> |
| 600 <!-- FUNCTION PARAMETERS --> | 600 <!-- FUNCTION PARAMETERS --> |
| 601 </div> | 601 </div> |
| 602 </div> | 602 </div> |
| 603 </div> <!-- /apiGroup --> | 603 </div> <!-- /apiGroup --> |
| 604 <!-- METHODS --> | 604 <!-- METHODS --> |
| 605 <!-- /apiGroup --> | 605 <!-- /apiGroup --> |
| 606 <!-- EVENTS --> | 606 <!-- EVENTS --> |
| 607 <!-- /apiGroup --> | 607 <!-- /apiGroup --> |
| 608 <!-- TYPES --> | 608 <!-- TYPES --> |
| 609 <div class="apiGroup"> | 609 <div class="apiGroup"> |
| 610 <a name="types"></a> | 610 <a name="types"></a> |
| 611 <h3 id="types">Types</h3> | 611 <h3 id="types">Types</h3> |
| 612 <!-- iterates over all types --> | 612 <!-- iterates over all types --> |
| 613 <div class="apiItem"> | 613 <div class="apiItem"> |
| 614 <a name="type-ResourceIdentifier"></a> | 614 <a name="type-contentSettings.ResourceIdentifier"></a> |
| 615 <h4>ResourceIdentifier</h4> | 615 <h4>contentSettings.ResourceIdentifier</h4> |
| 616 <div> | 616 <div> |
| 617 <dt> | 617 <dt> |
| 618 <em> | 618 <em> |
| 619 <!-- TYPE --> | 619 <!-- TYPE --> |
| 620 <div style="display:inline"> | 620 <div style="display:inline"> |
| 621 ( | 621 ( |
| 622 <span id="typeTemplate"> | 622 <span id="typeTemplate"> |
| 623 <span> | 623 <span> |
| 624 <span>object</span> | 624 <span>object</span> |
| 625 </span> | 625 </span> |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 680 <!-- FUNCTION PARAMETERS --> | 680 <!-- FUNCTION PARAMETERS --> |
| 681 </div> | 681 </div> |
| 682 </div> | 682 </div> |
| 683 </dl> | 683 </dl> |
| 684 </dd> | 684 </dd> |
| 685 <!-- OBJECT METHODS --> | 685 <!-- OBJECT METHODS --> |
| 686 <!-- OBJECT EVENT FIELDS --> | 686 <!-- OBJECT EVENT FIELDS --> |
| 687 <!-- FUNCTION PARAMETERS --> | 687 <!-- FUNCTION PARAMETERS --> |
| 688 </div> | 688 </div> |
| 689 </div><div class="apiItem"> | 689 </div><div class="apiItem"> |
| 690 <a name="type-ContentSetting"></a> | 690 <a name="type-contentSettings.ContentSetting"></a> |
| 691 <h4>ContentSetting</h4> | 691 <h4>contentSettings.ContentSetting</h4> |
| 692 <div> | 692 <div> |
| 693 <dt> | 693 <dt> |
| 694 <em> | 694 <em> |
| 695 <!-- TYPE --> | 695 <!-- TYPE --> |
| 696 <div style="display:inline"> | 696 <div style="display:inline"> |
| 697 ( | 697 ( |
| 698 <span id="typeTemplate"> | 698 <span id="typeTemplate"> |
| 699 <span> | 699 <span> |
| 700 <span>object</span> | 700 <span>object</span> |
| 701 </span> | 701 </span> |
| 702 </span> | 702 </span> |
| 703 ) | 703 ) |
| 704 </div> | 704 </div> |
| 705 </em> | 705 </em> |
| 706 </dt> | 706 </dt> |
| 707 <dd class="todo"> | 707 <dd class="todo"> |
| 708 Undocumented. | 708 Undocumented. |
| 709 </dd> | 709 </dd> |
| 710 <!-- OBJECT PROPERTIES --> | 710 <!-- OBJECT PROPERTIES --> |
| 711 <!-- OBJECT METHODS --> | 711 <!-- OBJECT METHODS --> |
| 712 <dd> | 712 <dd> |
| 713 <div class="apiGroup"> | 713 <div class="apiGroup"> |
| 714 <a name="global-ContentSetting-methods"></a> | 714 <a name="global-contentSettings.ContentSetting-methods"></a> |
| 715 <h3>Methods of ContentSetting</h3> | 715 <h3>Methods of contentSettings.ContentSetting</h3> |
| 716 <!-- iterates over all functions --> | 716 <!-- iterates over all functions --> |
| 717 <div class="apiItem"> | 717 <div class="apiItem"> |
| 718 <a name="method-ContentSetting-clear"></a> <!-- method-anchor --> | 718 <a name="method-contentSettings.ContentSetting-clear"></a> <!-- me
thod-anchor --> |
| 719 <h4>clear</h4> | 719 <h4>clear</h4> |
| 720 <div class="summary"> | 720 <div class="summary"> |
| 721 <!-- Note: intentionally longer 80 columns --> | 721 <!-- Note: intentionally longer 80 columns --> |
| 722 <span>contentSetting.clear</span>(<span class="null"><span>obj
ect</span> | 722 <span>contentSettings.ContentSetting.clear</span>(<span class=
"null"><span>object</span> |
| 723 <var><span>details</span></var></span><span class="optiona
l"><span>, </span><span>function</span> | 723 <var><span>details</span></var></span><span class="optiona
l"><span>, </span><span>function</span> |
| 724 <var><span>callback</span></var></span>)</div> | 724 <var><span>callback</span></var></span>)</div> |
| 725 <div class="description"> | 725 <div class="description"> |
| 726 <p>Clear all content setting rules set by this extension.</p> | 726 <p>Clear all content setting rules set by this extension.</p> |
| 727 <!-- PARAMETERS --> | 727 <!-- PARAMETERS --> |
| 728 <h4>Parameters</h4> | 728 <h4>Parameters</h4> |
| 729 <dl> | 729 <dl> |
| 730 <div> | 730 <div> |
| 731 <div> | 731 <div> |
| 732 <dt> | 732 <dt> |
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 811 </div> | 811 </div> |
| 812 </div> | 812 </div> |
| 813 </dl> | 813 </dl> |
| 814 <!-- RETURNS --> | 814 <!-- RETURNS --> |
| 815 <dl> | 815 <dl> |
| 816 </dl> | 816 </dl> |
| 817 <!-- CALLBACK --> | 817 <!-- CALLBACK --> |
| 818 <!-- MIN_VERSION --> | 818 <!-- MIN_VERSION --> |
| 819 </div> <!-- /description --> | 819 </div> <!-- /description --> |
| 820 </div><div class="apiItem"> | 820 </div><div class="apiItem"> |
| 821 <a name="method-ContentSetting-get"></a> <!-- method-anchor --> | 821 <a name="method-contentSettings.ContentSetting-get"></a> <!-- meth
od-anchor --> |
| 822 <h4>get</h4> | 822 <h4>get</h4> |
| 823 <div class="summary"> | 823 <div class="summary"> |
| 824 <!-- Note: intentionally longer 80 columns --> | 824 <!-- Note: intentionally longer 80 columns --> |
| 825 <span>contentSetting.get</span>(<span class="null"><span>objec
t</span> | 825 <span>contentSettings.ContentSetting.get</span>(<span class="n
ull"><span>object</span> |
| 826 <var><span>details</span></var></span><span class="null"><
span>, </span><span>function</span> | 826 <var><span>details</span></var></span><span class="null"><
span>, </span><span>function</span> |
| 827 <var><span>callback</span></var></span>)</div> | 827 <var><span>callback</span></var></span>)</div> |
| 828 <div class="description"> | 828 <div class="description"> |
| 829 <p>Gets the current content setting for a given pair of URLs.</p
> | 829 <p>Gets the current content setting for a given pair of URLs.</p
> |
| 830 <!-- PARAMETERS --> | 830 <!-- PARAMETERS --> |
| 831 <h4>Parameters</h4> | 831 <h4>Parameters</h4> |
| 832 <dl> | 832 <dl> |
| 833 <div> | 833 <div> |
| 834 <div> | 834 <div> |
| 835 <dt> | 835 <dt> |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 904 <div> | 904 <div> |
| 905 <dt> | 905 <dt> |
| 906 <var>resourceIdentifier</var> | 906 <var>resourceIdentifier</var> |
| 907 <em> | 907 <em> |
| 908 <!-- TYPE --> | 908 <!-- TYPE --> |
| 909 <div style="display:inline"> | 909 <div style="display:inline"> |
| 910 ( | 910 ( |
| 911 <span class="optional">optional</span> | 911 <span class="optional">optional</span> |
| 912 <span id="typeTemplate"> | 912 <span id="typeTemplate"> |
| 913 <span> | 913 <span> |
| 914 <a href="contentSettings.html#type-ResourceIdentifier">R
esourceIdentifier</a> | 914 <a href="contentSettings.html#type-contentSettings.Resou
rceIdentifier">contentSettings.ResourceIdentifier</a> |
| 915 </span> | 915 </span> |
| 916 </span> | 916 </span> |
| 917 ) | 917 ) |
| 918 </div> | 918 </div> |
| 919 </em> | 919 </em> |
| 920 </dt> | 920 </dt> |
| 921 <dd>A more specific identifier of the type of content for which the se
ttings should be retrieved.</dd> | 921 <dd>A more specific identifier of the type of content for which the se
ttings should be retrieved.</dd> |
| 922 <!-- OBJECT PROPERTIES --> | 922 <!-- OBJECT PROPERTIES --> |
| 923 <!-- OBJECT METHODS --> | 923 <!-- OBJECT METHODS --> |
| 924 <!-- OBJECT EVENT FIELDS --> | 924 <!-- OBJECT EVENT FIELDS --> |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 982 </div> | 982 </div> |
| 983 </div> | 983 </div> |
| 984 </dl> | 984 </dl> |
| 985 <!-- RETURNS --> | 985 <!-- RETURNS --> |
| 986 <dl> | 986 <dl> |
| 987 </dl> | 987 </dl> |
| 988 <!-- CALLBACK --> | 988 <!-- CALLBACK --> |
| 989 <!-- MIN_VERSION --> | 989 <!-- MIN_VERSION --> |
| 990 </div> <!-- /description --> | 990 </div> <!-- /description --> |
| 991 </div><div class="apiItem"> | 991 </div><div class="apiItem"> |
| 992 <a name="method-ContentSetting-getResourceIdentifiers"></a> <!-- m
ethod-anchor --> | 992 <a name="method-contentSettings.ContentSetting-getResourceIdentifi
ers"></a> <!-- method-anchor --> |
| 993 <h4>getResourceIdentifiers</h4> | 993 <h4>getResourceIdentifiers</h4> |
| 994 <div class="summary"> | 994 <div class="summary"> |
| 995 <!-- Note: intentionally longer 80 columns --> | 995 <!-- Note: intentionally longer 80 columns --> |
| 996 <span>contentSetting.getResourceIdentifiers</span>(<span class
="null"><span>function</span> | 996 <span>contentSettings.ContentSetting.getResourceIdentifiers</s
pan>(<span class="null"><span>function</span> |
| 997 <var><span>callback</span></var></span>)</div> | 997 <var><span>callback</span></var></span>)</div> |
| 998 <div class="description"> | 998 <div class="description"> |
| 999 <p class="todo">Undocumented.</p> | 999 <p class="todo">Undocumented.</p> |
| 1000 <!-- PARAMETERS --> | 1000 <!-- PARAMETERS --> |
| 1001 <h4>Parameters</h4> | 1001 <h4>Parameters</h4> |
| 1002 <dl> | 1002 <dl> |
| 1003 <div> | 1003 <div> |
| 1004 <div> | 1004 <div> |
| 1005 <dt> | 1005 <dt> |
| 1006 <var>callback</var> | 1006 <var>callback</var> |
| (...skipping 20 matching lines...) Expand all Loading... |
| 1027 </div> | 1027 </div> |
| 1028 </div> | 1028 </div> |
| 1029 </dl> | 1029 </dl> |
| 1030 <!-- RETURNS --> | 1030 <!-- RETURNS --> |
| 1031 <dl> | 1031 <dl> |
| 1032 </dl> | 1032 </dl> |
| 1033 <!-- CALLBACK --> | 1033 <!-- CALLBACK --> |
| 1034 <!-- MIN_VERSION --> | 1034 <!-- MIN_VERSION --> |
| 1035 </div> <!-- /description --> | 1035 </div> <!-- /description --> |
| 1036 </div><div class="apiItem"> | 1036 </div><div class="apiItem"> |
| 1037 <a name="method-ContentSetting-set"></a> <!-- method-anchor --> | 1037 <a name="method-contentSettings.ContentSetting-set"></a> <!-- meth
od-anchor --> |
| 1038 <h4>set</h4> | 1038 <h4>set</h4> |
| 1039 <div class="summary"> | 1039 <div class="summary"> |
| 1040 <!-- Note: intentionally longer 80 columns --> | 1040 <!-- Note: intentionally longer 80 columns --> |
| 1041 <span>contentSetting.set</span>(<span class="null"><span>objec
t</span> | 1041 <span>contentSettings.ContentSetting.set</span>(<span class="n
ull"><span>object</span> |
| 1042 <var><span>details</span></var></span><span class="optiona
l"><span>, </span><span>function</span> | 1042 <var><span>details</span></var></span><span class="optiona
l"><span>, </span><span>function</span> |
| 1043 <var><span>callback</span></var></span>)</div> | 1043 <var><span>callback</span></var></span>)</div> |
| 1044 <div class="description"> | 1044 <div class="description"> |
| 1045 <p>Applies a new content setting rule.</p> | 1045 <p>Applies a new content setting rule.</p> |
| 1046 <!-- PARAMETERS --> | 1046 <!-- PARAMETERS --> |
| 1047 <h4>Parameters</h4> | 1047 <h4>Parameters</h4> |
| 1048 <dl> | 1048 <dl> |
| 1049 <div> | 1049 <div> |
| 1050 <div> | 1050 <div> |
| 1051 <dt> | 1051 <dt> |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1120 <div> | 1120 <div> |
| 1121 <dt> | 1121 <dt> |
| 1122 <var>resourceIdentifier</var> | 1122 <var>resourceIdentifier</var> |
| 1123 <em> | 1123 <em> |
| 1124 <!-- TYPE --> | 1124 <!-- TYPE --> |
| 1125 <div style="display:inline"> | 1125 <div style="display:inline"> |
| 1126 ( | 1126 ( |
| 1127 <span class="optional">optional</span> | 1127 <span class="optional">optional</span> |
| 1128 <span id="typeTemplate"> | 1128 <span id="typeTemplate"> |
| 1129 <span> | 1129 <span> |
| 1130 <a href="contentSettings.html#type-ResourceIdentifier">R
esourceIdentifier</a> | 1130 <a href="contentSettings.html#type-contentSettings.Resou
rceIdentifier">contentSettings.ResourceIdentifier</a> |
| 1131 </span> | 1131 </span> |
| 1132 </span> | 1132 </span> |
| 1133 ) | 1133 ) |
| 1134 </div> | 1134 </div> |
| 1135 </em> | 1135 </em> |
| 1136 </dt> | 1136 </dt> |
| 1137 <dd>The resource identifier for the content type.</dd> | 1137 <dd>The resource identifier for the content type.</dd> |
| 1138 <!-- OBJECT PROPERTIES --> | 1138 <!-- OBJECT PROPERTIES --> |
| 1139 <!-- OBJECT METHODS --> | 1139 <!-- OBJECT METHODS --> |
| 1140 <!-- OBJECT EVENT FIELDS --> | 1140 <!-- OBJECT EVENT FIELDS --> |
| (...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1278 _uff=0; | 1278 _uff=0; |
| 1279 urchinTracker(); | 1279 urchinTracker(); |
| 1280 } | 1280 } |
| 1281 catch(e) {/* urchinTracker not available. */} | 1281 catch(e) {/* urchinTracker not available. */} |
| 1282 </script> | 1282 </script> |
| 1283 <!-- end analytics --> | 1283 <!-- end analytics --> |
| 1284 </div> | 1284 </div> |
| 1285 </div> <!-- /gc-footer --> | 1285 </div> <!-- /gc-footer --> |
| 1286 </div> <!-- /gc-container --> | 1286 </div> <!-- /gc-container --> |
| 1287 </body></html> | 1287 </body></html> |
| OLD | NEW |