help.html 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  5. <title>SingleFile help</title>
  6. <link rel="stylesheet" href="help.css">
  7. </head>
  8. <body>
  9. <div>
  10. <div id="titleBorder">
  11. <h2><img src="../resources/icon_48.png" id="titleIcon"><span id="title">SingleFile help</span></h2>
  12. <h4>SingleFile helps you to archive a complete page into a single HTML file.</h4>
  13. </div>
  14. <span id="index"><a href="#instructions">Instructions</a> - <a href="#demo">Demo</a> - <a href="#options">Options description</a> - <a href="#folder">Saved archives
  15. folder</a> - <a href="#notes">Technical notes</a> - <a href="#knownIssues">Known issues</a> - <a href="#unknownIssues">Unknown issues</a></span>
  16. <hr>
  17. <ol>
  18. <li><a id="instructions">Instructions</a>
  19. <ul>
  20. <li>wait until the page is fully loaded : you may need to scroll down the entire page and hover dynamic document elements (e.g. "rollover" images) to be sure all elements
  21. are displayed</li>
  22. <li>click on the SingleFile icon <img src="../resources/icon_48.png" id="icon"> in the Chrome toolbar or press Ctrl-Shift-S shortcut or use context menu to launch page
  23. processing</li>
  24. <li>wait until the shadow disappears then hit Ctrl-S or select "Save as" in the wrench menu and save the page</li>
  25. <li>all images, style sheets and frame contents are embedded into the ".htm" saved file</li>
  26. </ul>
  27. </li>
  28. <li><a id="demo">Demo : SingleFile advantages over default file save</a>
  29. <div><object width="480" height="385">
  30. <param name="movie" value="http://www.youtube.com/v/D99LfOF3qis&hl=fr_FR&fs=1&">
  31. <param name="allowFullScreen" value="true">
  32. <param name="allowscriptaccess" value="always">
  33. <embed src="http://www.youtube.com/v/D99LfOF3qis&hl=fr_FR&fs=1&" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="480" height="385"></object>
  34. </div>
  35. <li><a id="options">Options description</a>
  36. <p>You can customize the way SingleFile process the page through the options page. Right-click on SingleFile icon <img src="../resources/icon_48.png" id="icon"> in the
  37. Chrome toolbar and select "Options" in the context menu to open the options page.</p>
  38. <div class="screenshot"></div>
  39. <p>Details :</p>
  40. <ul>
  41. <li><span class="option">remove frames</span>
  42. <p>Remove all frames on the page</p>
  43. <p>You can enable this option if the file size is too large when disabled or to remove some ads.</p>
  44. <p class="notice">It is recommended to <u>disable</u> this option</p>
  45. </li>
  46. <li><span class="option">remove scripts</span>
  47. <p>Remove all javascript scripts</p>
  48. <p>Most of the time, you don't need javascript into the saved page. If your want to save the page dynamic behavior, you may need to disable this option. Nevertheless, the
  49. dynamic behavior may not work or document can be altered when opening the saved file.<br>
  50. It is recommended to enable <span class="option">process raw document</span> if you disable this option.</p>
  51. <p class="notice">It is recommended to <u>enable</u> this option</p>
  52. </li>
  53. <li><span class="option">remove objects</span>
  54. <p>Remove all objects</p>
  55. <p>Remove all non embeddable elements : flash, java applet ...</p>
  56. <p class="notice">It is recommended to <u>enable</u> this option if you want to read the saved page offline</p>
  57. </li>
  58. <li><span class="option">remove hidden elements</span>
  59. <p>Remove all hidden elements</p>
  60. <p>Remove all the HTML unvisible elements on the page (with <code>visibility = "hidden"</code>&nbsp;or&nbsp;<code>display = "none"</code>&nbsp;or&nbsp;<code>opacity =
  61. 0</code> CSS property values). This option may alter the document but can considerably reduce the saved file size.</p>
  62. <p class="notice">It is recommended to <u>disable</u> this option unless the saved file size is too large</p>
  63. </li>
  64. <li><span class="option">remove unused CSS rules</span>
  65. <p>Remove all CSS rules that do not match any element</p>
  66. <p>This option may alter the document but can considerably reduce the saved file size. If you enable this option, it may introduce some incompatibilities issues in the saved
  67. page when opening it into another browser (i.e. not based on Webkit).</p>
  68. <p class="notice">It is recommended to <u>disable</u> this option unless the saved file size is too large or you do not want to open the saved page into another browser</p>
  69. </li>
  70. <li><span class="option">scrapbook the page</span>
  71. <p>Send the archived page to <a href="https://chrome.google.com/webstore/detail/ihkkeoeinpbomhnpkmmkpggkaefincbn">Scrapbook for SingleFile</a></p>
  72. <p>This option allows to use SingleFile action icon as a shortcut to send the viewed page to <a
  73. href="https://chrome.google.com/webstore/detail/ihkkeoeinpbomhnpkmmkpggkaefincbn">Scrapbook for SingleFile</a> extension if installed.</p>
  74. <p class="notice">It is recommended to <u>disable</u> this option unless you want to use SingleFile icon to scrapbook pages</p>
  75. </li>
  76. <li><span class="option">process in background</span>
  77. <p>Process the page in background</p>
  78. <p>Processing in background means it won't be blocking (*). If you disable this option, a shadow will prevent you to use the page during the SingleFile processing. Even
  79. though processing may be faster.</p>
  80. <p class="notice">It is recommended to <u>disable</u> this option unless <span class="option">display processed page</span> option is disabled</p>
  81. </li>
  82. <li><span class="option">save processed page (*)</span>
  83. <p>Save the page on filesystem</p>
  84. <p>When enabled this option allows to save automatically archives on filesystem. See <a href="#folder">Saved archives folder</a> for more details.</p>
  85. <p class="notice">It is recommended to <u>disable</u> this option unless you want files to be automatically saved</p>
  86. </li>
  87. <li><span class="option">display processed page (*)</span>
  88. <p>Display the processed page in the tab</p>
  89. <p>This option must be enabled if you want to use Chrome "Save as" dialog box to save the processed page. To improve processing speed, you should disable <span class="option">process
  90. in background</span> when this option is enabled.</p>
  91. <p class="notice">It is recommended to <u>enable</u> this option</p>
  92. </li>
  93. <li><span class="option">max filename length (*)</span>
  94. <p>Maximum filename length</p>
  95. <p>Since filesystem restricts filename length and the extension cannot guess this value, you can set it to the maximum allowed by your Operating System.</p>
  96. <p class="notice">It is recommended to set this option to <u>90</u> if you are using Windows</p>
  97. </li>
  98. <li><span class="option">process raw document</span>
  99. <p>Process the raw downloaded document</p>
  100. <p>This option allows SingleFile to process the downloaded document instead of the displayed document. The main difference is that JavaScript scripts won't be parsed and
  101. executed. Frames won't be embedded too.</p>
  102. <p class="notice">It is recommended to <u>disable</u> this option unless <span class="option">remove scripts</span> is disabled</p>
  103. </li>
  104. <li><span class="option">Reset to default options</span>
  105. <p>Reset all the options to default state</p>
  106. </li>
  107. </ul>
  108. </li>
  109. <li><a id="folder">Saved archives folder (*)</a>
  110. <p>When <span class="option">save processed page</span> is enabled, pages will be automatically saved but Chrome will not allow to choose the root folder where archives are
  111. stored. Neither it will allow to make links pointing to saved files folder. So you have to find "manually" the this folder.</p>
  112. <p>Files are saved in "FileSystem" folder located into Chrome user data folder:</p>
  113. <ul style="text-align: left">
  114. <li>Windows default path: <br>
  115. <span class="option">%LOCALAPPDATA%\Google\Chrome\User&nbsp;Data\Default\FileSystem\chrome-extension_jemlklgaibiijojffihnhieihhagocma_0\Persistent\</span></li>
  116. <li>Linux default path: <br>
  117. <span class="option">~/.config/google-chrome/Default/FileSystem/chrome-extension_jemlklgaibiijojffihnhieihhagocma_0/Persistent/</span></li>
  118. <li>Mac OS X default path: <br>
  119. <span class="option">~/Library/Application&nbsp;Support/Google/Chrome/Default/FileSystem/chrome-extension_jemlklgaibiijojffihnhieihhagocma_0/Persistent/</span></li>
  120. </ul>
  121. <p>You can create symbolic links to help you to access easily to this folder and use sync services like dropbox. Here are the way of doing it on <a
  122. href="http://technet.microsoft.com/en-us/library/cc753194(WS.10).aspx">windows (mklink /d)</a> and <a href="http://www.unixtutorial.org/commands/ln/">linux or Mac OS X (ln
  123. -s)</a>.</p>
  124. <p>You can also change Chrome user data folder with <a href="http://www.chromium.org/user-experience/user-data-directory">--user-data-dir switch</a>.
  125. </li>
  126. <li><a id="notes">Technical notes</a>
  127. <ul>
  128. <li>all images are converted into <a href="http://en.wikipedia.org/wiki/Base64">base64</a></li>
  129. <li>frame document contents and automatically saved pages are encoded with <a href="http://en.wikipedia.org/wiki/Utf_8">utf-8 charset</a></li>
  130. <li>encoded contents are injected in the document using <a href="http://en.wikipedia.org/wiki/Data_URI_scheme">data URI scheme</a></li>
  131. <li>data URI scheme is supported by the following web browsers: Chrome, Firefox, Opera, Safari, Konqueror and Internet Explorer 8 (limited support : data URIs must be
  132. smaller than 32 KB, embedded frames are not supported)</li>
  133. <li>SVG images are supported (SVG document is converted into utf-8 but is not processed)</li>
  134. </ul>
  135. </li>
  136. <li><a id="knownIssues">Known issues</a>
  137. <ul>
  138. <li>SVG images without src attribute or with empty src attribute are not embedded</li>
  139. </ul>
  140. </li>
  141. <li><a id="unknownIssues">Unknown issues</a>
  142. <p>If you find an unknown issue (i.e. frozen process, extra saved files, blank or altered document, tab crash...):</p>
  143. <ul>
  144. <li>reset options</li>
  145. <li>disable all other extensions to see if there is a conflict</li>
  146. <li>if there is a conflict, try to determine against which extension(s)</li>
  147. </ul>
  148. <p>Report the issue <a href="https://chrome.google.com/webstore/detail/mpiodijhokgodhhofbcjdecpffjipkle">here</a> with a short description, URL(s), Chrome version, OS version</p>
  149. </li>
  150. </ol>
  151. <br>
  152. <p class="availability">*: feature only available on Chrome 9+</p>
  153. <a href="http://www.w3.org/html/logo/"> <img src="../resources/html5-badge-h-storage.png" alt="HTML5 offline & storage logo" id="logo-html5"
  154. title="This extension is powered by HTML5 Offline & Storage"> </a></div>
  155. </body>
  156. </html>