OLD | NEW |
1 <h2 id="manifest">Manifest</h2> | 1 <h2 id="manifest">Manifest</h2> |
2 | 2 |
3 <p>You must declare the "history" permission | 3 <p>You must declare the "history" permission |
4 in the <a href="manifest.html">extension manifest</a> | 4 in the <a href="manifest">extension manifest</a> |
5 to use the history API. | 5 to use the history API. |
6 For example:</p> | 6 For example:</p> |
7 <pre data-filename="manifest.json"> | 7 <pre data-filename="manifest.json"> |
8 { | 8 { |
9 "name": "My extension", | 9 "name": "My extension", |
10 ... | 10 ... |
11 <b>"permissions": [ | 11 <b>"permissions": [ |
12 "history" | 12 "history" |
13 ]</b>, | 13 ]</b>, |
14 ... | 14 ... |
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
136 </tr> | 136 </tr> |
137 </table> | 137 </table> |
138 | 138 |
139 <h2 id="examples">Examples</h2> | 139 <h2 id="examples">Examples</h2> |
140 | 140 |
141 <p> | 141 <p> |
142 For examples of using this API, see the | 142 For examples of using this API, see the |
143 <a href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extension
s/docs/examples/api/history/">history sample directory</a> and the | 143 <a href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extension
s/docs/examples/api/history/">history sample directory</a> and the |
144 <a href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/test/data/extens
ions/api_test/history/">history API test directory</a>. | 144 <a href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/test/data/extens
ions/api_test/history/">history API test directory</a>. |
145 For other examples and for help in viewing the source code, see | 145 For other examples and for help in viewing the source code, see |
146 <a href="samples.html">Samples</a>. | 146 <a href="samples">Samples</a>. |
147 </p> | 147 </p> |
OLD | NEW |