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

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

Issue 8352042: Update contentSettings extension API docs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: '' Created 9 years, 1 month 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
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>
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 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 100
101 <div id="functionParametersTemplate"> 101 <div id="functionParametersTemplate">
102 <h5>Parameters</h5> 102 <h5>Parameters</h5>
103 <dl> 103 <dl>
104 <div> 104 <div>
105 <div> 105 <div>
106 </div> 106 </div>
107 </div> 107 </div>
108 </dl> 108 </dl>
109 </div> 109 </div>
110
111 <!-- Individual subsections from the table of contents -->
112 <ol>
113 <li id="propertiesTocTemplate">
114 <a href="#properties">Properties</a>
115 <ol>
116 <li>
117 <a href="#property-anchor">propertyName</a>
118 </li>
119 </ol>
120 </li>
121 <li id="methodsTocTemplate">
122 <a>Methods</a>
123 <ol>
124 <li>
125 <a href="#method-anchor">methodName</a>
126 </li>
127 </ol>
128 </li>
129 <li id="eventsTocTemplate">
130 <a>Events</a>
131 <ol>
132 <li>
133 <a href="#event-anchor">eventName</a>
134 </li>
135 </ol>
136 </li>
137 <li id="typesTocTemplate">
138 <a href="#types">Types</a>
139 <ol>
140 <li>
141 <a href="#id-anchor">id</a>
142 <ol>
143 <div></div>
144 <div></div>
145 </ol>
146 </li>
147 </ol>
148 </li>
149 </ol>
110 </div> <!-- /SUBTEMPLATES --> 150 </div> <!-- /SUBTEMPLATES -->
111 151
112 <a id="top"></a> 152 <a id="top"></a>
113 <div id="skipto"> 153 <div id="skipto">
114 <a href="#gc-pagecontent">Skip to page content</a> 154 <a href="#gc-pagecontent">Skip to page content</a>
115 <a href="#gc-toc">Skip to main navigation</a> 155 <a href="#gc-toc">Skip to main navigation</a>
116 </div> 156 </div>
117 <!-- API HEADER --> 157 <!-- API HEADER -->
118 <table id="header" width="100%" cellspacing="0" border="0"> 158 <table id="header" width="100%" cellspacing="0" border="0">
119 <tbody><tr> 159 <tbody><tr>
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
244 </ul> 284 </ul>
245 </li> 285 </li>
246 </ul> 286 </ul>
247 </div> 287 </div>
248 <script> 288 <script>
249 initToggles(); 289 initToggles();
250 </script> 290 </script>
251 291
252 <div class="g-unit" id="gc-pagecontent"> 292 <div class="g-unit" id="gc-pagecontent">
253 <div id="pageTitle"> 293 <div id="pageTitle">
254 <h1 class="page_title">chrome.contentSettings</h1> 294 <h1 class="page_title">Content Settings</h1>
255 </div> 295 </div>
256 <!-- TABLE OF CONTENTS --> 296 <!-- TABLE OF CONTENTS -->
257 <div id="toc"> 297 <div id="toc">
258 <h2>Contents</h2> 298 <h2>Contents</h2>
259 <ol> 299 <ol>
260 <li style="display: none; "> 300 <li>
261 <a>h2Name</a> 301 <a href="#manifest">Manifest</a>
262 <ol> 302 <ol>
263 <li> 303 <li style="display: none; ">
264 <a>h3Name</a> 304 <a>h3Name</a>
265 </li> 305 </li>
266 </ol> 306 </ol>
307 </li><li>
308 <a href="#patterns">Content setting patterns</a>
309 <ol>
310 <li>
311 <a href="#pattern-precedence">Pattern precedence</a>
312 </li>
313 </ol>
314 </li><li>
315 <a href="#primary-secondary">Primary and secondary patterns</a>
316 <ol>
317 <li style="display: none; ">
318 <a>h3Name</a>
319 </li>
320 </ol>
321 </li><li>
322 <a href="#resource-identifiers">Resource identifiers</a>
323 <ol>
324 <li style="display: none; ">
325 <a>h3Name</a>
326 </li>
327 </ol>
328 </li><li>
329 <a href="#examples">Examples</a>
330 <ol>
331 <li style="display: none; ">
332 <a>h3Name</a>
333 </li>
334 </ol>
267 </li> 335 </li>
268 <li> 336 <li>
269 <a href="#apiReference">API reference: chrome.contentSettings</a > 337 <a href="#apiReference">API reference: chrome.contentSettings</a >
270 <ol> 338 <ol>
271 <li> 339 <li>
272 <a href="#properties">Properties</a> 340 <a href="#properties">Properties</a>
273 <ol> 341 <ol>
274 <li> 342 <li>
275 <a href="#property-cookies">cookies</a> 343 <a href="#property-cookies">cookies</a>
276 </li><li> 344 </li><li>
277 <a href="#property-images">images</a> 345 <a href="#property-images">images</a>
278 </li><li> 346 </li><li>
279 <a href="#property-javascript">javascript</a> 347 <a href="#property-javascript">javascript</a>
280 </li><li> 348 </li><li>
281 <a href="#property-plugins">plugins</a> 349 <a href="#property-plugins">plugins</a>
282 </li><li> 350 </li><li>
283 <a href="#property-popups">popups</a> 351 <a href="#property-popups">popups</a>
284 </li><li> 352 </li><li>
285 <a href="#property-notifications">notifications</a> 353 <a href="#property-notifications">notifications</a>
286 </li> 354 </li>
287 </ol> 355 </ol>
288 </li> 356 </li>
289 <li style="display: none; "> 357 <li style="display: none; ">
290 <a>Methods</a> 358 <a>Methods</a>
291 <ol> 359 <ol>
292 <li> 360 <li>
293 <a href="#method-anchor">methodName</a> 361 <a href="#method-anchor">methodName</a>
294 </li> 362 </li>
295 </ol> 363 </ol>
296 </li> 364 </li>
297 <li style="display: none; "> 365 <li style="display: none; ">
298 <a>Events</a> 366 <a>Events</a>
299 <ol> 367 <ol>
300 <li> 368 <li>
301 <a href="#event-anchor">eventName</a> 369 <a href="#event-anchor">eventName</a>
302 </li> 370 </li>
303 </ol> 371 </ol>
304 </li> 372 </li>
305 <li> 373 <li>
306 <a href="#types">Types</a> 374 <a href="#types">Types</a>
307 <ol> 375 <ol>
308 <li> 376 <li>
309 <a href="#type-ResourceIdentifier">ResourceIdentifier</a > 377 <a href="#type-ResourceIdentifier">ResourceIdentifier</a>
310 </li><li> 378 <ol>
311 <a href="#type-ContentSetting">ContentSetting</a> 379 <li style="display: none; ">
312 </li> 380 <a>Methods</a>
313 </ol> 381 <ol>
314 </li> 382 <li>
383 <a href="#method-anchor">methodName</a>
384 </li>
385 </ol>
386 </li>
387 <li style="display: none; ">
388 <a>Events</a>
389 <ol>
390 <li>
391 <a href="#event-anchor">eventName</a>
392 </li>
393 </ol>
394 </li>
395 </ol>
396 </li><li>
397 <a href="#type-ContentSetting">ContentSetting</a>
398 <ol>
399 <li>
400 <a href="#global-ContentSetting-methods">Methods</a>
401 <ol>
402 <li>
403 <a href="#method-ContentSetting-clear">clear</a>
404 </li><li>
405 <a href="#method-ContentSetting-get">get</a>
406 </li><li>
407 <a href="#method-ContentSetting-getResourceIdentifiers">getResou rceIdentifiers</a>
408 </li><li>
409 <a href="#method-ContentSetting-set">set</a>
410 </li>
411 </ol>
412 </li>
413 <li style="display: none; ">
414 <a>Events</a>
415 <ol>
416 <li>
417 <a href="#event-anchor">eventName</a>
418 </li>
419 </ol>
420 </li>
421 </ol>
422 </li>
423 </ol>
424 </li>
315 </ol> 425 </ol>
316 </li> 426 </li>
317 </ol> 427 </ol>
318 </div> 428 </div>
319 <!-- /TABLE OF CONTENTS --> 429 <!-- /TABLE OF CONTENTS -->
320 430
321 <!-- Standard content lead-in for experimental API pages --> 431 <!-- Standard content lead-in for experimental API pages -->
322 <p id="classSummary" style="display: none; "> 432 <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. 433 For information on how to use experimental APIs, see the <a href="expe rimental.html">chrome.experimental.* APIs</a> page.
324 </p> 434 </p>
325 435
326 <!-- STATIC CONTENT PLACEHOLDER --> 436 <!-- STATIC CONTENT PLACEHOLDER -->
327 <div id="static"></div> 437 <div id="static"><div id="pageData-name" class="pageData">Content Settin gs</div>
438
439 <!-- BEGIN AUTHORED CONTENT -->
440 <p>
441 The content settings module allows you to change settings that control whether
442 websites can use features such as cookies, JavaScript, and plug-ins.
443 More generally speaking, content settings allow you to customize Chrome's
444 behavior on a per-site basis instead of globally.</p>
445 <p>
446 </p>
447
448 <h2 id="manifest">Manifest</h2>
449 <p>You must declare the "contentSettings" permission
450 in your extension's manifest to use the API.
451 For example:</p>
452 <pre>{
453 "name": "My extension",
454 ...
455 <b>"permissions": [
456 "contentSettings"
457 ]</b>,
458 ...
459 }</pre>
460
461
462 <h2 id="patterns">Content setting patterns</h2>
463 <p>
464 You can use patterns to specify the websites that each content setting affects.
465 For example, <code>http://*.youtube.com/*</code> specifies youtube.com and all
466 of its subdomains. The syntax for content setting patterns is the same as for
467 <a href="match_patterns.html">match patterns</a>, with a few differences:
468 </p><ul><li>For <code>http</code>,
469 <code>https</code>, and <code>ftp</code> URLs, the path must be a wildcard
470 (<code>/*</code>). For <code>file</code> URLs, the path must be completely
471 specified and <strong>must not</strong> contain wildcards.</li>
472 <li>In contrast to match patterns, content setting patterns can specify a port
473 number. If a port number is specified, the pattern only matches websites with
474 that port. If no port number is specified, the pattern matches all ports.
475 </li>
476 </ul>
477 <p></p>
478
479 <h3 id="pattern-precedence">Pattern precedence</h3>
480 <p>
481 When more than one content setting rule applies for a given site, the rule with
482 the more specific pattern takes precedence.
483 </p>
484 <p>For example, the following patterns are ordered by precedence:</p>
485 <ol>
486 <li><code>http://www.example.com/*</code></li>
487 <li><code>http://*.example.com/*</code> (matching
488 example.com and all subdomains)</li>
489 <li><code>&lt;all_urls&gt;</code> (matching every URL)</li>
490 </ol>
491 <p>
492 Three kinds of wildcards affect how specific a pattern is:
493 </p>
494 <ul>
495 <li>Wildcards in the port (for example
496 <code>http://www.example.com:*/*</code>)</li>
497 <li>Wildcards in the scheme (for example
498 <code>*://www.example.com:123/*</code>)</li>
499 <li>Wildcards in the hostname (for example
500 <code>http://*.example.com:123/*</code>)</li>
501 </ul>
502 <p>
503 If a pattern is more specific than another pattern in one part but less specific
504 in another part, the different parts are checked in the following order:
505 hostname, scheme, port. For example, the following patterns are ordered by
506 precedence:</p>
507 <ol>
508 <li><code>http://www.example.com:*/*</code><br>
509 Specifies the hostname and scheme.</li>
510 <li><code>*:/www.example.com:123/*</code><br>
511 Not as high, because although it specifies the hostname, it doesn't specify
512 the scheme.</li>
513 <li><code>http://*.example.com:123/*</code><br>
514 Lower because although it specifies the port and scheme, it has a wildcard
515 in the hostname.</li>
516 </ol>
517
518 <h2 id="primary-secondary">Primary and secondary patterns</h2>
519 <p>
520 The URL taken into account when deciding which content setting to apply depends
521 on the content type. For example, for
522 <a href="#property-notifications">notifications</a> settings are
523 based on the URL shown in the omnibox. This URL is called the "primary" URL.</p>
524 <p>
525 Some content types can take additional URLs into account. For example,
526 whether a site is allowed to set a
527 <a href="#property-cookies">cookie</a> is decided based on the URL
528 of the HTTP request (which is the primary URL in this case) as well as the URL
529 shown in the omnibox (which is called the "secondary" URL).
530 </p>
531 <p>
532 If multiple rules have primary and secondary patterns, the rule with the more
533 specific primary pattern takes precedence. If there multiple rules have the same
534 primary pattern, the rule with the more specific secondary pattern takes
535 precedence. For example, the following list of primary/secondary pattern pairs
536 is ordered by precedence:</p>
537 <table>
538 <tbody><tr><th>Precedence</th><th>Primary pattern</th><th>Secondary pattern</th>
539 </tr><tr>
540 <td>1</td>
541 <td><code>http://www.moose.com/*</code>, </td>
542 <td><code>http://www.wombat.com/*</code></td>
543 </tr><tr>
544 <td>2</td>
545 <td><code>http://www.moose.com/*</code>, </td>
546 <td><code>&lt;all_urls&gt;</code></td>
547 </tr><tr>
548 <td>3</td>
549 <td><code>&lt;all_urls&gt;</code>, </td>
550 <td><code>http://www.wombat.com/*</code></td>
551 </tr><tr>
552 <td>4</td>
553 <td><code>&lt;all_urls&gt;</code>, </td>
554 <td><code>&lt;all_urls&gt;</code></td>
555 </tr>
556 </tbody></table>
557
558 <h2 id="resource-identifiers">Resource identifiers</h2>
559 <p>
560 Resource identifiers allow you to specify content settings for specific
561 subtypes of a content type. Currently, the only content type that supports
562 resource identifiers is <a href="#property-plugins"><code>plugins</code></a>,
563 where a resource identifier identifies a specific plug-in. When applying content
564 settings, first the settings for the specific plug-in are checked. If there are
565 no settings found for the specific plug-in, the general content settings for
566 plug-ins are checked.
567 </p>
568 <p>
569 For example, if a content setting rule has the resource identifier
570 <code>adobe-flash-player</code> and the pattern <code>&lt;all_urls&gt;</code>,
571 it takes precedence over a rule without a resource identifier and the pattern
572 <code>http://www.example.com/*</code>, even if that pattern is more specific.
573 </p>
574 <p>
575 You can get a list of resource identifiers for a content type by calling the
576 <a href="method-ContentSetting-getResourceIdentifiers">
577 <code>getResourceIdentifiers()</code></a> method. The returned list
578 can change with the set of installed plug-ins on the user's machine, but Chrome
579 tries to keep the identifiers stable across plug-in updates.
580 </p>
581
582 <h2 id="examples">Examples</h2>
583
584 <p>
585 You can find samples of this API on the
586 <a href="samples.html#contentSettings">sample page</a>.
587 </p>
588
589 <!-- END AUTHORED CONTENT -->
590 </div>
328 591
329 <!-- API PAGE --> 592 <!-- API PAGE -->
330 <div class="apiPage"> 593 <div class="apiPage">
331 <a name="apiReference"></a> 594 <a name="apiReference"></a>
332 <h2>API reference: chrome.contentSettings</h2> 595 <h2>API reference: chrome.contentSettings</h2>
333 596
334 <!-- PROPERTIES --> 597 <!-- PROPERTIES -->
335 <div class="apiGroup"> 598 <div class="apiGroup">
336 <a name="properties"></a> 599 <a name="properties"></a>
337 <h3 id="properties">Properties</h3> 600 <h3 id="properties">Properties</h3>
(...skipping 28 matching lines...) Expand all
366 </span> 629 </span>
367 </span> 630 </span>
368 ) 631 )
369 </div> 632 </div>
370 633
371 </em> 634 </em>
372 </dt> 635 </dt>
373 <dd class="todo" style="display: none; "> 636 <dd class="todo" style="display: none; ">
374 Undocumented. 637 Undocumented.
375 </dd> 638 </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> 639 <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; "> 640 <dd style="display: none; ">
378 This parameter was added in version 641 This parameter was added in version
379 <b><span></span></b>. 642 <b><span></span></b>.
380 You must omit this parameter in earlier versions, 643 You must omit this parameter in earlier versions,
381 and you may omit it in any version. If you require this 644 and you may omit it in any version. If you require this
382 parameter, the manifest key 645 parameter, the manifest key
383 <a href="manifest.html#minimum_chrome_version">minimum_chrome_versio n</a> 646 <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. 647 can ensure that your extension won't be run in an earlier browser ve rsion.
385 </dd> 648 </dd>
386 649
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
440 </span> 703 </span>
441 </span> 704 </span>
442 ) 705 )
443 </div> 706 </div>
444 707
445 </em> 708 </em>
446 </dt> 709 </dt>
447 <dd class="todo" style="display: none; "> 710 <dd class="todo" style="display: none; ">
448 Undocumented. 711 Undocumented.
449 </dd> 712 </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> 713 <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; "> 714 <dd style="display: none; ">
452 This parameter was added in version 715 This parameter was added in version
453 <b><span></span></b>. 716 <b><span></span></b>.
454 You must omit this parameter in earlier versions, 717 You must omit this parameter in earlier versions,
455 and you may omit it in any version. If you require this 718 and you may omit it in any version. If you require this
456 parameter, the manifest key 719 parameter, the manifest key
457 <a href="manifest.html#minimum_chrome_version">minimum_chrome_versio n</a> 720 <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. 721 can ensure that your extension won't be run in an earlier browser ve rsion.
459 </dd> 722 </dd>
460 723
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
514 </span> 777 </span>
515 </span> 778 </span>
516 ) 779 )
517 </div> 780 </div>
518 781
519 </em> 782 </em>
520 </dt> 783 </dt>
521 <dd class="todo" style="display: none; "> 784 <dd class="todo" style="display: none; ">
522 Undocumented. 785 Undocumented.
523 </dd> 786 </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> 787 <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; "> 788 <dd style="display: none; ">
526 This parameter was added in version 789 This parameter was added in version
527 <b><span></span></b>. 790 <b><span></span></b>.
528 You must omit this parameter in earlier versions, 791 You must omit this parameter in earlier versions,
529 and you may omit it in any version. If you require this 792 and you may omit it in any version. If you require this
530 parameter, the manifest key 793 parameter, the manifest key
531 <a href="manifest.html#minimum_chrome_version">minimum_chrome_versio n</a> 794 <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. 795 can ensure that your extension won't be run in an earlier browser ve rsion.
533 </dd> 796 </dd>
534 797
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
588 </span> 851 </span>
589 </span> 852 </span>
590 ) 853 )
591 </div> 854 </div>
592 855
593 </em> 856 </em>
594 </dt> 857 </dt>
595 <dd class="todo" style="display: none; "> 858 <dd class="todo" style="display: none; ">
596 Undocumented. 859 Undocumented.
597 </dd> 860 </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> 861 <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; "> 862 <dd style="display: none; ">
600 This parameter was added in version 863 This parameter was added in version
601 <b><span></span></b>. 864 <b><span></span></b>.
602 You must omit this parameter in earlier versions, 865 You must omit this parameter in earlier versions,
603 and you may omit it in any version. If you require this 866 and you may omit it in any version. If you require this
604 parameter, the manifest key 867 parameter, the manifest key
605 <a href="manifest.html#minimum_chrome_version">minimum_chrome_versio n</a> 868 <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. 869 can ensure that your extension won't be run in an earlier browser ve rsion.
607 </dd> 870 </dd>
608 871
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
662 </span> 925 </span>
663 </span> 926 </span>
664 ) 927 )
665 </div> 928 </div>
666 929
667 </em> 930 </em>
668 </dt> 931 </dt>
669 <dd class="todo" style="display: none; "> 932 <dd class="todo" style="display: none; ">
670 Undocumented. 933 Undocumented.
671 </dd> 934 </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> 935 <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; "> 936 <dd style="display: none; ">
674 This parameter was added in version 937 This parameter was added in version
675 <b><span></span></b>. 938 <b><span></span></b>.
676 You must omit this parameter in earlier versions, 939 You must omit this parameter in earlier versions,
677 and you may omit it in any version. If you require this 940 and you may omit it in any version. If you require this
678 parameter, the manifest key 941 parameter, the manifest key
679 <a href="manifest.html#minimum_chrome_version">minimum_chrome_versio n</a> 942 <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. 943 can ensure that your extension won't be run in an earlier browser ve rsion.
681 </dd> 944 </dd>
682 945
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
736 </span> 999 </span>
737 </span> 1000 </span>
738 ) 1001 )
739 </div> 1002 </div>
740 1003
741 </em> 1004 </em>
742 </dt> 1005 </dt>
743 <dd class="todo" style="display: none; "> 1006 <dd class="todo" style="display: none; ">
744 Undocumented. 1007 Undocumented.
745 </dd> 1008 </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> 1009 <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; "> 1010 <dd style="display: none; ">
748 This parameter was added in version 1011 This parameter was added in version
749 <b><span></span></b>. 1012 <b><span></span></b>.
750 You must omit this parameter in earlier versions, 1013 You must omit this parameter in earlier versions,
751 and you may omit it in any version. If you require this 1014 and you may omit it in any version. If you require this
752 parameter, the manifest key 1015 parameter, the manifest key
753 <a href="manifest.html#minimum_chrome_version">minimum_chrome_versio n</a> 1016 <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. 1017 can ensure that your extension won't be run in an earlier browser ve rsion.
755 </dd> 1018 </dd>
756 1019
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after
949 </span> 1212 </span>
950 </span> 1213 </span>
951 ) 1214 )
952 </div> 1215 </div>
953 1216
954 </em> 1217 </em>
955 </dt> 1218 </dt>
956 <dd class="todo" style="display: none; "> 1219 <dd class="todo" style="display: none; ">
957 Undocumented. 1220 Undocumented.
958 </dd> 1221 </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> 1222 <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; "> 1223 <dd style="display: none; ">
961 This parameter was added in version 1224 This parameter was added in version
962 <b><span></span></b>. 1225 <b><span></span></b>.
963 You must omit this parameter in earlier versions, 1226 You must omit this parameter in earlier versions,
964 and you may omit it in any version. If you require this 1227 and you may omit it in any version. If you require this
965 parameter, the manifest key 1228 parameter, the manifest key
966 <a href="manifest.html#minimum_chrome_version">minimum_chrome_versio n</a> 1229 <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. 1230 can ensure that your extension won't be run in an earlier browser ve rsion.
968 </dd> 1231 </dd>
969 1232
(...skipping 1388 matching lines...) Expand 10 before | Expand all | Expand 10 after
2358 </span> 2621 </span>
2359 </span> 2622 </span>
2360 ) 2623 )
2361 </div> 2624 </div>
2362 2625
2363 </em> 2626 </em>
2364 </dt> 2627 </dt>
2365 <dd class="todo" style="display: none; "> 2628 <dd class="todo" style="display: none; ">
2366 Undocumented. 2629 Undocumented.
2367 </dd> 2630 </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> 2631 <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; "> 2632 <dd style="display: none; ">
2370 This parameter was added in version 2633 This parameter was added in version
2371 <b><span></span></b>. 2634 <b><span></span></b>.
2372 You must omit this parameter in earlier versions, 2635 You must omit this parameter in earlier versions,
2373 and you may omit it in any version. If you require this 2636 and you may omit it in any version. If you require this
2374 parameter, the manifest key 2637 parameter, the manifest key
2375 <a href="manifest.html#minimum_chrome_version">minimum_chrome_versio n</a> 2638 <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. 2639 can ensure that your extension won't be run in an earlier browser ve rsion.
2377 </dd> 2640 </dd>
2378 2641
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
2426 </span> 2689 </span>
2427 </span> 2690 </span>
2428 ) 2691 )
2429 </div> 2692 </div>
2430 2693
2431 </em> 2694 </em>
2432 </dt> 2695 </dt>
2433 <dd class="todo" style="display: none; "> 2696 <dd class="todo" style="display: none; ">
2434 Undocumented. 2697 Undocumented.
2435 </dd> 2698 </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> 2699 <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; "> 2700 <dd style="display: none; ">
2438 This parameter was added in version 2701 This parameter was added in version
2439 <b><span></span></b>. 2702 <b><span></span></b>.
2440 You must omit this parameter in earlier versions, 2703 You must omit this parameter in earlier versions,
2441 and you may omit it in any version. If you require this 2704 and you may omit it in any version. If you require this
2442 parameter, the manifest key 2705 parameter, the manifest key
2443 <a href="manifest.html#minimum_chrome_version">minimum_chrome_versio n</a> 2706 <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. 2707 can ensure that your extension won't be run in an earlier browser ve rsion.
2445 </dd> 2708 </dd>
2446 2709
(...skipping 417 matching lines...) Expand 10 before | Expand all | Expand 10 after
2864 _uff=0; 3127 _uff=0;
2865 urchinTracker(); 3128 urchinTracker();
2866 } 3129 }
2867 catch(e) {/* urchinTracker not available. */} 3130 catch(e) {/* urchinTracker not available. */}
2868 </script> 3131 </script>
2869 <!-- end analytics --> 3132 <!-- end analytics -->
2870 </div> 3133 </div>
2871 </div> <!-- /gc-footer --> 3134 </div> <!-- /gc-footer -->
2872 </div> <!-- /gc-container --> 3135 </div> <!-- /gc-container -->
2873 </body></html> 3136 </body></html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698