OLD | NEW |
1 <h2 id="manifest">Manifest</h2> | 1 <h2 id="manifest">Manifest</h2> |
2 <p>You must declare the "contentSettings" permission | 2 <p>You must declare the "contentSettings" permission |
3 in your extension's manifest to use the API. | 3 in your extension's manifest to use the API. |
4 For example:</p> | 4 For example:</p> |
5 <pre data-filename="manifest.json"> | 5 <pre data-filename="manifest.json"> |
6 { | 6 { |
7 "name": "My extension", | 7 "name": "My extension", |
8 ... | 8 ... |
9 <b>"permissions": [ | 9 <b>"permissions": [ |
10 "contentSettings" | 10 "contentSettings" |
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
130 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 |
131 $(ref:contentSettings.ContentSetting.getResourceIdentifiers) method. The returne
d list | 131 $(ref:contentSettings.ContentSetting.getResourceIdentifiers) method. The returne
d list |
132 can change with the set of installed plugins on the user's machine, but Chrome | 132 can change with the set of installed plugins on the user's machine, but Chrome |
133 tries to keep the identifiers stable across plugin updates. | 133 tries to keep the identifiers stable across plugin updates. |
134 </p> | 134 </p> |
135 | 135 |
136 <h2 id="examples">Examples</h2> | 136 <h2 id="examples">Examples</h2> |
137 | 137 |
138 <p> | 138 <p> |
139 You can find samples of this API on the | 139 You can find samples of this API on the |
140 <a href="samples#contentSettings">sample page</a>. | 140 <a href="samples#search:contentSettings">sample page</a>. |
141 </p> | 141 </p> |
OLD | NEW |