help.html 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341
  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. <meta name="viewport" content="width=device-width,initial-scale=1">
  8. </head>
  9. <body>
  10. <div>
  11. <div id="titleBorder">
  12. <h2>SingleFile</h2>
  13. <h4>Save a complete page into a single HTML file</h4>
  14. </div>
  15. <span id="index">
  16. <a href="#getting-started">Getting started</a> -
  17. <a href="#general-notes">Additional notes</a> -
  18. <a href="#options">Options description</a> -
  19. <a href="#notes">Technical notes</a> -
  20. <a href="#known-issues">Known issues</a> -
  21. <a href="#unknown-issues">Troubleshooting unknown issues</a>
  22. </span>
  23. <hr>
  24. <ol>
  25. <li>
  26. <a id="getting-started">Getting started</a>
  27. <ul>
  28. <li>Wait until the page is fully loaded, you may need to scroll down the entire page to be sure all elements are loaded.</li>
  29. <li>Click on the SingleFile button
  30. <img src="../resources/icon_16.png" class="icon"> in the extension toolbar to save the page.</li>
  31. </ul>
  32. </li>
  33. <li>
  34. <a id="general-notes">Additional notes</a>
  35. <ul>
  36. <li>
  37. Open the context menu by right-clicking the SingleFile button
  38. <img src="../resources/icon_16.png" class="icon"> in the extension toolbar or on the webpage. It allows you to:
  39. <ul>
  40. <li>save a tab,</li>
  41. <li>or a selected content,</li>
  42. <li>or a frame content,</li>
  43. <li>or selected tabs,</li>
  44. <li>or unpinned tabs,</li>
  45. <li>or all tabs.</li>
  46. </ul>
  47. </li>
  48. <li>
  49. The context menu also allows you to activate the auto-save of:
  50. <ul>
  51. <li>the current tab,</li>
  52. <li>or unpinned tabs (only in the context menu of the webpage),</li>
  53. <li>or all tabs (only in the context menu of the webpage).</li>
  54. </ul>
  55. </li>
  56. <li>With auto-save active, pages are automatically saved every time after being loaded. The period of time to wait before
  57. saving the page can be configured in the options page.</li>
  58. <li>Check the option "auto-save on page unload" in the options page to auto-save the page before being unloading instead
  59. of after being loaded.</li>
  60. <li>Right-click on the SingleFile button and select "Options" to open the options page.</li>
  61. <li>To save multiple tabs, select them first and click on the SingleFile button
  62. <img src="../resources/icon_16.png" class="icon">.</li>
  63. </ul>
  64. </li>
  65. <li>
  66. <a id="options">Options description</a>
  67. <p>You can customize SingleFile through the options page. Right-click on SingleFile button
  68. <img src="../resources/icon_16.png" class="icon"> in the browser toolbar and select "Options"/"Manage extension" in the context menu to open the options page.</p>
  69. <p>User interface</p>
  70. <ul>
  71. <li>
  72. <span class="option">add entry in the context menu of the webpage</span>
  73. <p>Check this option to display an entry for SingleFile in the context menu of the webpage. The context menu of the SingleFile
  74. button
  75. <img src="../resources/icon_16.png" class="icon"> in the extension toolbar is displayed wether this option is checked or not.
  76. </p>
  77. <p class="notice">It is recommended to
  78. <u>check</u> this option</p>
  79. </li>
  80. <li>
  81. <span class="option">overlay a shadow on the page during processing</span>
  82. <p>Check this option to overlay a shadow on the page when SingleFile is retrieving page resources. This reminds you that
  83. you should not close the tab.
  84. </p>
  85. <p class="notice">It is recommended to
  86. <u>check</u> this option</p>
  87. </li>
  88. <li>
  89. <span class="option">display an infobar when viewing archives</span>
  90. <p>Check this option to display the ❔ button at the top right of the page when viewing a saved page. By clicking this
  91. icon, you can get more information about the saved date and open the original URL.
  92. </p>
  93. <p class="notice">It is recommended to
  94. <u>check</u> this option</p>
  95. </li>
  96. </ul>
  97. <p>File name</p>
  98. <ul>
  99. <li>
  100. <span class="option">append the save date to the file name</span>
  101. <p>Check this option to append the save date of the webpage to the file name.
  102. </p>
  103. <p class="notice">It is recommended to
  104. <u>check</u> this option</p>
  105. </li>
  106. <li>
  107. <span class="option">open the "Save as" dialog to confirm the file name</span>
  108. <p>Check this option to display the "Save as" dialog in order to confirm the file name before saving the page. If the
  109. option "save pages in background" is unchecked then a prompt dialog will be displayed instead of the "Save as" dialog.
  110. </p>
  111. <p class="notice">It is recommended to
  112. <u>uncheck</u> this option</p>
  113. </li>
  114. </ul>
  115. <p>Page content</p>
  116. <ul>
  117. <li>
  118. <span class="option">compress HTML</span>
  119. <p>Check this option to remove all HTML comments, and unneeded spaces or returns. This helps to reduce the size of the
  120. file without altering the document.</p>
  121. <p class="notice">It is recommended to
  122. <u>check</u> this option</p>
  123. </li>
  124. <li>
  125. <span class="option">remove HTML import</span>
  126. <p>Check this option to remove all link elements used to import HTML documents. This can reduce the size of the file without
  127. altering the document most of the time.</p>
  128. <p class="notice">It is recommended to
  129. <u>check</u> this option</p>
  130. </li>
  131. <li>
  132. <span class="option">remove frames</span>
  133. <p>Check this option to remove all frame and iframe elements. This can considerably reduce the size of the file without
  134. altering the document most of the time.</p>
  135. <p class="notice">It is recommended to
  136. <u>check</u> this option</p>
  137. </li>
  138. <li>
  139. <span class="option">remove hidden elements</span>
  140. <p>Check this option to remove all hidden elements. This option can considerably reduce the size of the file without altering
  141. the document most of the time.</p>
  142. <p class="notice">It is recommended to
  143. <u>check</u> this option</p>
  144. </li>
  145. <li>
  146. <span class="option">save raw page</span>
  147. <p>Check this option to save the page without interpreting JavaScript. Checking this option may alter the document.</p>
  148. <p class="notice">It is recommended to
  149. <u>uncheck</u> this option</p>
  150. </li>
  151. </ul>
  152. <p>Pages resources</p>
  153. <ul>
  154. <li>
  155. <span class="option">remove scripts</span>
  156. <p>Check this option to remove all scripts. Unchecking this option may alter the document.</p>
  157. <p class="notice">It is recommended to
  158. <u>check</u> this option</p>
  159. </li>
  160. <li>
  161. <span class="option">remove video sources</span>
  162. <p>Check this option to empty the "src" attribute of all video elements.</p>
  163. <p class="notice">It is recommended to
  164. <u>check</u> this option</p>
  165. </li>
  166. <li>
  167. <span class="option">remove audio sources</span>
  168. <p>Check this option to empty the "src" attribute of all audio elements.</p>
  169. <p class="notice">It is recommended to
  170. <u>check</u> this option</p>
  171. </li>
  172. <li>
  173. <span class="option">compress CSS</span>
  174. <p>Check this option to minify CSS stylesheets. This helps to reduce the size of the file without altering the document.</p>
  175. <p class="notice">It is recommended to
  176. <u>check</u> this option</p>
  177. </li>
  178. <li>
  179. <span class="option">remove unused CSS rules</span>
  180. <p>Check this option to remove all CSS rules that do not match any element. Checking this this option should not alter
  181. the document and can considerably reduce the size of the file.</p>
  182. <p class="notice">It is recommended to
  183. <u>check</u> this option</p>
  184. </li>
  185. <li>
  186. <span class="option">save lazy loaded images</span>
  187. <p>Check this option to save all the lazy loaded images that are not displayed. This may help to save all the images without
  188. scrolling the page. This feature is not guaranteed to work on all sites.</p>
  189. <p class="notice">It is recommended to
  190. <u>check</u> this option</p>
  191. </li>
  192. <li>
  193. <span class="option">set a maximum size for embedded resources (Mb)</span>
  194. <p>Specify the maximum size of embedded resources (i.e. images, stylesheets, scripts and iframes) in megabytes.
  195. </p>
  196. </li>
  197. </ul>
  198. <p>Auto-save</p>
  199. <ul>
  200. <li>
  201. <span class="option">auto-save on page load or on page unload as fallback</span>
  202. <p>Check this option to auto-save pages after being loaded. If you browse to another page before the page is fully loaded
  203. then the page will be saved just before being unloaded. With this option active, you are guaranteed pages will always
  204. be saved. Pages saved before being unloaded will not contain frame contents (if you unchecked "remove frames").</p>
  205. </li>
  206. <p class="notice">It is recommended to
  207. <u>check</u> this option</p>
  208. <li>
  209. <span class="option">auto-save on page load</span>
  210. <p>Check this option to auto-save pages after being loaded.</p>
  211. </li>
  212. <li>
  213. <span class="option">auto-save on page unload</span>
  214. <p>Check this option to auto-save pages before being unloaded instead of saving pages after being loaded. With this option
  215. active, you are guaranteed pages will always be saved but they will never contain frame contents (if you unchecked
  216. "remove frames").</p>
  217. </li>
  218. <li>
  219. <span class="option">auto-save wait delay after load (sec.)</span>
  220. <p>Specify the amount of time in seconds to wait before saving a page when the "auto-save on page load or on page unload
  221. as fallback" or "auto-save on page load" is checked.
  222. </p>
  223. </li>
  224. </ul>
  225. <p>Misc.</p>
  226. <ul>
  227. <li>
  228. <span class="option">save pages in background</span>
  229. <p>Uncheck this option if you get invalid file names like "37bec68b-446a-46a5-8642-19a89c231b46.html" when saving pages
  230. or if you prefer to use the prompt dialog instead of the "Save as" dialog when "open the 'Save as' dialog to confirm
  231. the file name" option is checked.
  232. </p>
  233. <p class="notice">It is recommended to
  234. <u>check</u> this option</p>
  235. </li>
  236. <li>
  237. <span class="option">display stats in the console after processing</span>
  238. <p>Check this option to display stats about processing in the JavaScript developer tools of your browser. Checking this
  239. option may increase the CPU consumption and the time needed to process a page.
  240. </p>
  241. <p class="notice">It is recommended to
  242. <u>uncheck</u> this option</p>
  243. </li>
  244. </ul>
  245. <p>Form buttons</p>
  246. <ul>
  247. <li>
  248. <span class="option">Reset</span>
  249. <p>Reset all the options to their default value.</p>
  250. </li>
  251. </ul>
  252. </li>
  253. <li>
  254. <a id="notes">Technical notes</a>
  255. <ul>
  256. <li>All images are converted into
  257. <a href="http://en.wikipedia.org/wiki/Base64">base64</a>.
  258. </li>
  259. <li>All resources except frame contents are injected in the document using
  260. <a href="http://en.wikipedia.org/wiki/Data_URI_scheme">data URI scheme</a>.
  261. </li>
  262. <li>Frame contents are injected as text in the document by using the srcdoc attribute.
  263. </li>
  264. </ul>
  265. </li>
  266. <li>
  267. <a id="known-issues">Known issues</a>
  268. <ul>
  269. <li>
  270. All browsers
  271. <ul>
  272. <li>After installing the extension, if you want to save a tab that was already opened then you need to refresh it first.
  273. </li>
  274. <li>For security reasons, you cannot save pages hosted on https://chrome.google.com or https://addons.mozilla.org.</li>
  275. <li>Frame contents cannot be saved when "auto-save on page unload" option is checked.</li>
  276. </ul>
  277. </li>
  278. <li>
  279. Chrome/Opera
  280. <ul>
  281. <li>You must enable the option "Allow access to file URLs" in the extension page to display the infobar when viewing a
  282. saved page, or to save a page stored on the filesystem.</li>
  283. <li>If saved pages have file names like "4e5a13fd-6638-4a37-a34b-a3c104ac66b1" instead of the title then it means another
  284. extension is conflicting with SingleFile. You can uncheck the option "save pages in background" to circumvent this
  285. issue.
  286. </li>
  287. </ul>
  288. </li>
  289. <li>
  290. Firefox
  291. <ul>
  292. <li>You cannot save selected tabs via the context menu because it is not possible to select multiple tabs.</li>
  293. </ul>
  294. </li>
  295. <li>
  296. Edge
  297. <ul>
  298. <li>The file name looks like "4e5a13fd-6638-4a37-a34b-a3c104ac66b1".</li>
  299. </ul>
  300. </li>
  301. </ul>
  302. </li>
  303. <li>
  304. <a id="unknown-issues">Troubleshooting unknown issues</a>
  305. <p>Please follow these steps if you find an unknown issue:</p>
  306. <ul>
  307. <li>Reset SingleFile options.</li>
  308. <li>If resetting options did not fix the issue, try to disable all other extensions to see if there is a conflict.</li>
  309. <li>If there is a conflict then try to determine against which extension(s).</li>
  310. <li>Please report the issue
  311. <a href="https://github.com/gildas-lormeau/SingleFile/issues">here</a> with a short description describing how to reproduce the issue, Browser version, OS name and version.</li>
  312. </ul>
  313. <p>Suggestions are welcome :)</p>
  314. </li>
  315. </ol>
  316. </div>
  317. </body>
  318. </html>