options.html 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  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. <h3>Options</h3>
  10. <details>
  11. <summary>User interface</summary>
  12. <div class="option">
  13. <label for="contextMenuEnabledInput">add entry in the context menu</label>
  14. <input type="checkbox" id="contextMenuEnabledInput">
  15. </div>
  16. <div class="option">
  17. <label for="shadowEnabledInput">overlay a shadow on the page during processing</label>
  18. <input type="checkbox" id="shadowEnabledInput">
  19. </div>
  20. <div class="option">
  21. <label for="displayInfobarInput">display an infobar when viewing archives</label>
  22. <input type="checkbox" id="displayInfobarInput">
  23. </div>
  24. <div class="option">
  25. <label for="displayStatsInput">display stats in the console after processing</label>
  26. <input type="checkbox" id="displayStatsInput">
  27. </div>
  28. </details>
  29. <details>
  30. <summary>File name</summary>
  31. <div class="option">
  32. <label for="appendSaveDateInput">append the save date to the file name</label>
  33. <input type="checkbox" id="appendSaveDateInput">
  34. </div>
  35. <div class="option">
  36. <label for="confirmFilenameInput">confirm file name before saving the page</label>
  37. <input type="checkbox" id="confirmFilenameInput">
  38. </div>
  39. </details>
  40. <details>
  41. <summary>Page content</summary>
  42. <div class="option">
  43. <label for="compressHTMLInput">compress HTML</label>
  44. <input type="checkbox" id="compressHTMLInput">
  45. </div>
  46. <div class="option">
  47. <label for="removeImportsInput">remove HTML imports</label>
  48. <input type="checkbox" id="removeImportsInput">
  49. </div>
  50. <div class="option">
  51. <label for="removeFramesInput">remove frames</label>
  52. <input type="checkbox" id="removeFramesInput">
  53. </div>
  54. <div class="option">
  55. <label for="removeHiddenElementsInput">remove hidden elements</label>
  56. <input type="checkbox" id="removeHiddenElementsInput">
  57. </div>
  58. <div class="option">
  59. <label for="saveRawPageInput">save raw page</label>
  60. <input type="checkbox" id="saveRawPageInput">
  61. </div>
  62. </details>
  63. <details>
  64. <summary>Pages resources</summary>
  65. <div class="option">
  66. <label for="removeScriptsInput">remove scripts</label>
  67. <input type="checkbox" id="removeScriptsInput">
  68. </div>
  69. <div class="option">
  70. <label for="removeVideoSrcInput">remove video sources</label>
  71. <input type="checkbox" id="removeVideoSrcInput">
  72. </div>
  73. <div class="option">
  74. <label for="removeAudioSrcInput">remove audio sources</label>
  75. <input type="checkbox" id="removeAudioSrcInput">
  76. </div>
  77. <div class="option">
  78. <label for="compressCSSInput">compress CSS</label>
  79. <input type="checkbox" id="compressCSSInput">
  80. </div>
  81. <div class="option">
  82. <label for="removeUnusedCSSRulesInput">remove unused CSS rules</label>
  83. <input type="checkbox" id="removeUnusedCSSRulesInput">
  84. </div>
  85. <div class="option">
  86. <label for="lazyLoadImagesInput">save lazy loaded images</label>
  87. <input type="checkbox" id="lazyLoadImagesInput">
  88. </div>
  89. <div class="option">
  90. <label for="maxResourceSizeEnabledInput">set a maximum size for embedded resources</label>
  91. <input type="checkbox" id="maxResourceSizeEnabledInput">
  92. </div>
  93. <div class="option second-level">
  94. <label for="maxResourceSizeInput">maximum size (Mb)</label>
  95. <input type="number" id="maxResourceSizeInput" min="1">
  96. </div>
  97. </details>
  98. <details>
  99. <summary>Misc.</summary>
  100. <div class="option">
  101. <label for="backgroundSaveInput">save pages in background</label>
  102. <input type="checkbox" id="backgroundSaveInput">
  103. </div>
  104. <div class="option">
  105. <label for="autoSaveDelayInput">auto-save wait delay (sec.)</label>
  106. <input type="number" id="autoSaveDelayInput" min="0">
  107. </div>
  108. </details>
  109. <div class="option bottom">
  110. <a href="help.html" target="SingleFileHelpPage">help</a>
  111. <button id="resetButton" title="Reset all the options to default values">Reset</button>
  112. </div>
  113. <script type="text/javascript" src="/lib/browser-polyfill/custom-browser-polyfill.js"></script>
  114. <script type="text/javascript" src="../bg/options.js"></script>
  115. </body>
  116. </html>