help.html 13 KB

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