OLD | NEW |
1 <h2 id="manifest">Manifest</h2> | 1 <h2 id="manifest">Manifest</h2> |
2 | 2 |
3 <p> | 3 <p> |
4 You must declare the "browsingData" permission in the | 4 You must declare the "browsingData" permission in the |
5 <a href="manifest.html">extension manifest</a> to use this API. | 5 <a href="manifest">extension manifest</a> to use this API. |
6 </p> | 6 </p> |
7 | 7 |
8 <pre data-filename="manifest.json"> | 8 <pre data-filename="manifest.json"> |
9 { | 9 { |
10 "name": "My extension", | 10 "name": "My extension", |
11 ... | 11 ... |
12 <b>"permissions": [ | 12 <b>"permissions": [ |
13 "browsingData", | 13 "browsingData", |
14 ]</b>, | 14 ]</b>, |
15 ... | 15 ... |
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
144 <p class="caution"> | 144 <p class="caution"> |
145 <strong>Seriously</strong>: Be careful with <code>protectedWeb</code> and | 145 <strong>Seriously</strong>: Be careful with <code>protectedWeb</code> and |
146 <code>extension</code>. These are destructive operations that your users | 146 <code>extension</code>. These are destructive operations that your users |
147 will write angry email about if they're not well-informed about what to | 147 will write angry email about if they're not well-informed about what to |
148 expect when your extension removes data on their behalf. | 148 expect when your extension removes data on their behalf. |
149 </p> | 149 </p> |
150 | 150 |
151 <h2 id="samples">Examples</h2> | 151 <h2 id="samples">Examples</h2> |
152 <p> | 152 <p> |
153 Samples for the <code>browsingData</code> API are available | 153 Samples for the <code>browsingData</code> API are available |
154 <a href="samples.html#browsingData">on the samples page</a>. | 154 <a href="samples#browsingData">on the samples page</a>. |
155 </p> | 155 </p> |
OLD | NEW |