options.html 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  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="removeVideoSrcInput">remove video sources</label>
  62. <input type="checkbox" id="removeVideoSrcInput">
  63. </div>
  64. <div class="option">
  65. <label for="removeAudioSrcInput">remove audio sources</label>
  66. <input type="checkbox" id="removeAudioSrcInput">
  67. </div>
  68. <div class="option">
  69. <label for="compressCSSInput">compress CSS</label>
  70. <input type="checkbox" id="compressCSSInput">
  71. </div>
  72. <div class="option">
  73. <label for="removeUnusedCSSRulesInput">remove unused CSS rules</label>
  74. <input type="checkbox" id="removeUnusedCSSRulesInput">
  75. </div>
  76. <div class="option">
  77. <label for="lazyLoadImagesInput">save lazy loaded images</label>
  78. <input type="checkbox" id="lazyLoadImagesInput">
  79. </div>
  80. <div class="option">
  81. <label for="maxResourceSizeEnabledInput">set a maximum size for embedded resources</label>
  82. <input type="checkbox" id="maxResourceSizeEnabledInput">
  83. </div>
  84. <div class="option second-level">
  85. <label for="maxResourceSizeInput">maximum size (Mb)</label>
  86. <input type="number" id="maxResourceSizeInput" min="1">
  87. </div>
  88. </details>
  89. <div class="option bottom">
  90. <a href="help.html" target="SingleFileHelpPage">help</a>
  91. <button id="resetButton" title="Reset all the options to default values">Reset</button>
  92. </div>
  93. <script type="text/javascript" src="/lib/browser-polyfill/custom-browser-polyfill.js"></script>
  94. <script type="text/javascript" src="../bg/options.js"></script>
  95. </body>
  96. </html>