| OLD | NEW |
| 1 <p> | 1 <p> |
| 2 MHTML is a <a href="http://tools.ietf.org/html/rfc2557">standard format</a> | 2 MHTML is a <a href="http://tools.ietf.org/html/rfc2557">standard format</a> |
| 3 supported by most browsers. It encapsulates in a single file a page and all | 3 supported by most browsers. It encapsulates in a single file a page and all |
| 4 its resources (CSS files, images..). | 4 its resources (CSS files, images..). |
| 5 </p> | 5 </p> |
| 6 | 6 |
| 7 <p> | 7 <p> |
| 8 Note that for security reasons a MHTML file can only be loaded from the file | 8 Note that for security reasons a MHTML file can only be loaded from the file |
| 9 system and that it can only be loaded in the main frame. | 9 system and that it can only be loaded in the main frame. |
| 10 </p> | 10 </p> |
| 11 | 11 |
| 12 <h2 id="manifest">Manifest</h2> | 12 <h2 id="manifest">Manifest</h2> |
| 13 | 13 |
| 14 | 14 |
| 15 <p>You must declare the "pageCapture" permission | 15 <p>You must declare the "pageCapture" permission |
| 16 in the <a href="manifest.html">extension manifest</a> | 16 in the <a href="manifest">extension manifest</a> |
| 17 to use the pageCapture API. | 17 to use the pageCapture API. |
| 18 For example:</p> | 18 For example:</p> |
| 19 <pre data-filename="manifest.json"> | 19 <pre data-filename="manifest.json"> |
| 20 { | 20 { |
| 21 "name": "My extension", | 21 "name": "My extension", |
| 22 ... | 22 ... |
| 23 <b>"permissions": [ | 23 <b>"permissions": [ |
| 24 "pageCapture" | 24 "pageCapture" |
| 25 ]</b>, | 25 ]</b>, |
| 26 ... | 26 ... |
| 27 } | 27 } |
| 28 </pre> | 28 </pre> |
| OLD | NEW |