Index: chrome/common/extensions/docs/server2/templates/private/pageCapture_intro.html |
diff --git a/chrome/common/extensions/docs/server2/templates/private/pageCapture_intro.html b/chrome/common/extensions/docs/server2/templates/private/pageCapture_intro.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..820f20fe6c0c686cc6207a2a6cfafb24c8c3be0f |
--- /dev/null |
+++ b/chrome/common/extensions/docs/server2/templates/private/pageCapture_intro.html |
@@ -0,0 +1,27 @@ |
+<!-- BEGIN AUTHORED CONTENT --> |
+<p> |
+The pageCapture API allows you to save a tab as MHTML. |
+</p> |
+<p> |
+MHTML is a <a href="http://tools.ietf.org/html/rfc2557">standard format</a> |
+supported by most browsers. It encapsulates in a single file a page and all |
+its resources (CSS files, images..). |
+</p> |
+<p> |
+Note that for security reasons a MHTML file can only be loaded from the file |
+system and that it can only be loaded in the main frame. |
+</p> |
+<h2 id="manifest">Manifest</h2> |
+<p>You must declare the "pageCapture" permission |
+in the <a href="manifest.html">extension manifest</a> |
+to use the history API. |
+For example:</p> |
+<pre>{ |
+ "name": "My extension", |
+ ... |
+ <b>"permissions": [ |
+ "pageCapture" |
+ ]</b>, |
+ ... |
+}</pre> |
+<!-- END AUTHORED CONTENT --> |