options.html 3.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  5. <title>SingleFile options</title>
  6. <link rel="stylesheet" href="options.css">
  7. </head>
  8. <body>
  9. <details>
  10. <summary>User interface</summary>
  11. <div class="option">
  12. <label for="contextMenuEnabledInput">add entry in the context menu</label>
  13. <input type="checkbox" id="contextMenuEnabledInput">
  14. </div>
  15. <div class="option">
  16. <label for="shadowEnabledInput">overlay a shadow on the page during processing</label>
  17. <input type="checkbox" id="shadowEnabledInput">
  18. </div>
  19. </details>
  20. <details>
  21. <summary>File name</summary>
  22. <div class="option">
  23. <label for="appendSaveDateInput">append the save date to the file name</label>
  24. <input type="checkbox" id="appendSaveDateInput">
  25. </div>
  26. <div class="option">
  27. <label for="confirmFilenameInput">enter file name before saving the page</label>
  28. <input type="checkbox" id="confirmFilenameInput">
  29. </div>
  30. </details>
  31. <details>
  32. <summary>Page content</summary>
  33. <div class="option">
  34. <label for="compressHTMLInput">compress HTML</label>
  35. <input type="checkbox" id="compressHTMLInput">
  36. </div>
  37. <div class="option">
  38. <label for="removeImportsInput">remove HTML imports</label>
  39. <input type="checkbox" id="removeImportsInput">
  40. </div>
  41. <div class="option">
  42. <label for="removeFramesInput">remove frames</label>
  43. <input type="checkbox" id="removeFramesInput">
  44. </div>
  45. <div class="option">
  46. <label for="removeHiddenElementsInput">remove hidden elements</label>
  47. <input type="checkbox" id="removeHiddenElementsInput">
  48. </div>
  49. <div class="option">
  50. <label for="saveRawPageInput">save raw page</label>
  51. <input type="checkbox" id="saveRawPageInput">
  52. </div>
  53. </details>
  54. <details>
  55. <summary>Pages resources</summary>
  56. <div class="option">
  57. <label for="removeScriptsInput">remove scripts</label>
  58. <input type="checkbox" id="removeScriptsInput">
  59. </div>
  60. <div class="option">
  61. <label for="compressCSSInput">compress CSS</label>
  62. <input type="checkbox" id="compressCSSInput">
  63. </div>
  64. <div class="option">
  65. <label for="removeUnusedCSSRulesInput">remove unused CSS rules</label>
  66. <input type="checkbox" id="removeUnusedCSSRulesInput">
  67. </div>
  68. <div class="option">
  69. <label for="lazyLoadImagesInput">save lazy loaded images</label>
  70. <input type="checkbox" id="lazyLoadImagesInput">
  71. </div>
  72. <div class="option">
  73. <label for="maxResourceSizeEnabledInput">set a maximum size for embedded resources</label>
  74. <input type="checkbox" id="maxResourceSizeEnabledInput">
  75. </div>
  76. <div class="option second-level">
  77. <label for="maxResourceSizeInput">maximum size (Mb)</label>
  78. <input type="number" id="maxResourceSizeInput" min="1">
  79. </div>
  80. </details>
  81. <div class="option bottom">
  82. <a href="help.html" target="SingleFileHelpPage">help</a>
  83. <button id="resetButton" title="Reset all the options to default values">Reset</button>
  84. </div>
  85. <script type="text/javascript" src="/lib/browser-polyfill/custom-browser-polyfill.js"></script>
  86. <script type="text/javascript" src="../bg/options.js"></script>
  87. </body>
  88. </html>