options.html 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  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. <div class="option">
  20. <label for="displayInfobarInput">display an infobar when viewing archives</label>
  21. <input type="checkbox" id="displayInfobarInput">
  22. </div>
  23. </details>
  24. <details>
  25. <summary>File name</summary>
  26. <div class="option">
  27. <label for="appendSaveDateInput">append the save date to the file name</label>
  28. <input type="checkbox" id="appendSaveDateInput">
  29. </div>
  30. <div class="option">
  31. <label for="confirmFilenameInput">enter file name before saving the page</label>
  32. <input type="checkbox" id="confirmFilenameInput">
  33. </div>
  34. </details>
  35. <details>
  36. <summary>Page content</summary>
  37. <div class="option">
  38. <label for="compressHTMLInput">compress HTML</label>
  39. <input type="checkbox" id="compressHTMLInput">
  40. </div>
  41. <div class="option">
  42. <label for="removeImportsInput">remove HTML imports</label>
  43. <input type="checkbox" id="removeImportsInput">
  44. </div>
  45. <div class="option">
  46. <label for="removeFramesInput">remove frames</label>
  47. <input type="checkbox" id="removeFramesInput">
  48. </div>
  49. <div class="option">
  50. <label for="removeHiddenElementsInput">remove hidden elements</label>
  51. <input type="checkbox" id="removeHiddenElementsInput">
  52. </div>
  53. <div class="option">
  54. <label for="saveRawPageInput">save raw page</label>
  55. <input type="checkbox" id="saveRawPageInput">
  56. </div>
  57. </details>
  58. <details>
  59. <summary>Pages resources</summary>
  60. <div class="option">
  61. <label for="removeScriptsInput">remove scripts</label>
  62. <input type="checkbox" id="removeScriptsInput">
  63. </div>
  64. <div class="option">
  65. <label for="removeVideoSrcInput">remove video sources</label>
  66. <input type="checkbox" id="removeVideoSrcInput">
  67. </div>
  68. <div class="option">
  69. <label for="removeAudioSrcInput">remove audio sources</label>
  70. <input type="checkbox" id="removeAudioSrcInput">
  71. </div>
  72. <div class="option">
  73. <label for="compressCSSInput">compress CSS</label>
  74. <input type="checkbox" id="compressCSSInput">
  75. </div>
  76. <div class="option">
  77. <label for="removeUnusedCSSRulesInput">remove unused CSS rules</label>
  78. <input type="checkbox" id="removeUnusedCSSRulesInput">
  79. </div>
  80. <div class="option">
  81. <label for="lazyLoadImagesInput">save lazy loaded images</label>
  82. <input type="checkbox" id="lazyLoadImagesInput">
  83. </div>
  84. <div class="option">
  85. <label for="maxResourceSizeEnabledInput">set a maximum size for embedded resources</label>
  86. <input type="checkbox" id="maxResourceSizeEnabledInput">
  87. </div>
  88. <div class="option second-level">
  89. <label for="maxResourceSizeInput">maximum size (Mb)</label>
  90. <input type="number" id="maxResourceSizeInput" min="1">
  91. </div>
  92. </details>
  93. <div class="option bottom">
  94. <a href="help.html" target="SingleFileHelpPage">help</a>
  95. <button id="resetButton" title="Reset all the options to default values">Reset</button>
  96. </div>
  97. <script type="text/javascript" src="/lib/browser-polyfill/custom-browser-polyfill.js"></script>
  98. <script type="text/javascript" src="../bg/options.js"></script>
  99. </body>
  100. </html>