OLD | NEW |
1 <!-- BEGIN AUTHORED CONTENT --> | |
2 <p> | 1 <p> |
3 The content settings module allows you to change settings that control whether | 2 The content settings module allows you to change settings that control whether |
4 websites can use features such as cookies, JavaScript, and plug-ins. | 3 websites can use features such as cookies, JavaScript, and plug-ins. |
5 More generally speaking, content settings allow you to customize Chrome's | 4 More generally speaking, content settings allow you to customize Chrome's |
6 behavior on a per-site basis instead of globally.</p> | 5 behavior on a per-site basis instead of globally.</p> |
7 <p> | 6 <p> |
8 </p> | 7 </p> |
9 <h2 id="manifest">Manifest</h2> | 8 <h2 id="manifest">Manifest</h2> |
10 <p>You must declare the "contentSettings" permission | 9 <p>You must declare the "contentSettings" permission |
11 in your extension's manifest to use the API. | 10 in your extension's manifest to use the API. |
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
131 You can get a list of resource identifiers for a content type by calling the | 130 You can get a list of resource identifiers for a content type by calling the |
132 <a href="contentSettings.html#method-ContentSetting-getResourceIdentifiers"> | 131 <a href="contentSettings.html#method-ContentSetting-getResourceIdentifiers"> |
133 <code>getResourceIdentifiers()</code></a> method. The returned list | 132 <code>getResourceIdentifiers()</code></a> method. The returned list |
134 can change with the set of installed plug-ins on the user's machine, but Chrome | 133 can change with the set of installed plug-ins on the user's machine, but Chrome |
135 tries to keep the identifiers stable across plug-in updates. | 134 tries to keep the identifiers stable across plug-in updates. |
136 </p> | 135 </p> |
137 <h2 id="examples">Examples</h2> | 136 <h2 id="examples">Examples</h2> |
138 <p> | 137 <p> |
139 You can find samples of this API on the | 138 You can find samples of this API on the |
140 <a href="samples.html#contentSettings">sample page</a>. | 139 <a href="samples.html#contentSettings">sample page</a>. |
141 </p> | 140 </p> |
142 <!-- END AUTHORED CONTENT --> | |
OLD | NEW |