help.html 15 KB

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