options.html 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156
  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><span id="expandAllButton"></span> <span id="titleLabel"></span></h3>
  10. <details>
  11. <summary id="userInterfaceLabel"></summary>
  12. <div class="option">
  13. <label for="contextMenuEnabledInput" id="addMenuEntryLabel"></label>
  14. <input type="checkbox" id="contextMenuEnabledInput">
  15. </div>
  16. <div class="option">
  17. <label for="shadowEnabledInput" id="shadowEnabledLabel"></label>
  18. <input type="checkbox" id="shadowEnabledInput">
  19. </div>
  20. <div class="option">
  21. <label for="displayInfobarInput" id="displayInfobarLabel"></label>
  22. <input type="checkbox" id="displayInfobarInput">
  23. </div>
  24. </details>
  25. <details>
  26. <summary id="filenameLabel"></summary>
  27. <div class="option">
  28. <label for="filenameTemplateInput" id="filenameTemplateLabel"></label>
  29. <input type="text" id="filenameTemplateInput">
  30. </div>
  31. <div class="option">
  32. <label for="confirmFilenameInput" id="confirmFilenameLabel"></label>
  33. <input type="checkbox" id="confirmFilenameInput">
  34. </div>
  35. </details>
  36. <details>
  37. <summary id="htmlContentLabel"></summary>
  38. <div class="option">
  39. <label for="compressHTMLInput" id="compressHTMLLabel"></label>
  40. <input type="checkbox" id="compressHTMLInput">
  41. </div>
  42. <div class="option">
  43. <label for="removeImportsInput" id="removeImportsLabel"></label>
  44. <input type="checkbox" id="removeImportsInput">
  45. </div>
  46. <div class="option">
  47. <label for="removeFramesInput" id="removeFramesLabel"></label>
  48. <input type="checkbox" id="removeFramesInput">
  49. </div>
  50. <div class="option">
  51. <label for="removeHiddenElementsInput" id="removeHiddenElementsLabel"></label>
  52. <input type="checkbox" id="removeHiddenElementsInput">
  53. </div>
  54. </details>
  55. <details>
  56. <summary id="imagesLabel"></summary>
  57. <div class="option">
  58. <label for="groupDuplicateImagesInput" id="groupDuplicateImagesLabel"></label>
  59. <input type="checkbox" id="groupDuplicateImagesInput">
  60. </div>
  61. <div class="option">
  62. <label for="lazyLoadImagesInput" id="lazyLoadImagesLabel"></label>
  63. <input type="checkbox" id="lazyLoadImagesInput">
  64. </div>
  65. <div class="option">
  66. <label for="removeSrcSetInput" id="removeAlternativeImagesLabel"></label>
  67. <input type="checkbox" id="removeSrcSetInput">
  68. </div>
  69. </details>
  70. <details>
  71. <summary id="stylesheetsLabel"></summary>
  72. <div class="option">
  73. <label for="compressCSSInput" id="compressCSSLabel"></label>
  74. <input type="checkbox" id="compressCSSInput">
  75. </div>
  76. <div class="option">
  77. <label for="removeUnusedStylesInput" id="removeUnusedStylesLabel"></label>
  78. <input type="checkbox" id="removeUnusedStylesInput">
  79. </div>
  80. <div class="option">
  81. <label for="removeAlternativeFontsInput" id="removeAlternativeFontsLabel"></label>
  82. <input type="checkbox" id="removeAlternativeFontsInput">
  83. </div>
  84. <div class="option">
  85. <label for="removeAlternativeMediasInput" id="removeAlternativeMediasLabel"></label>
  86. <input type="checkbox" id="removeAlternativeMediasInput">
  87. </div>
  88. </details>
  89. <details>
  90. <summary id="otherResourcesLabel"></summary>
  91. <div class="option">
  92. <label for="removeScriptsInput" id="removeScriptsLabel"></label>
  93. <input type="checkbox" id="removeScriptsInput">
  94. </div>
  95. <div class="option">
  96. <label for="removeVideoSrcInput" id="removeVideoLabel"></label>
  97. <input type="checkbox" id="removeVideoSrcInput">
  98. </div>
  99. <div class="option">
  100. <label for="removeAudioSrcInput" id="removeAudioLabel"></label>
  101. <input type="checkbox" id="removeAudioSrcInput">
  102. </div>
  103. </details>
  104. <details>
  105. <summary id="autoSaveLabel"></summary>
  106. <div class="option">
  107. <label for="autoSaveLoadOrUnloadInput" id="autoSaveLoadOrUnloadLabel"></label>
  108. <input type="checkbox" id="autoSaveLoadOrUnloadInput">
  109. </div>
  110. <div class="option">
  111. <label for="autoSaveLoadInput" id="autoSaveLoadLabel"></label>
  112. <input type="checkbox" id="autoSaveLoadInput">
  113. </div>
  114. <div class="option">
  115. <label for="autoSaveUnloadInput" id="autoSaveUnloadLabel"></label>
  116. <input type="checkbox" id="autoSaveUnloadInput">
  117. </div>
  118. <div class="option">
  119. <label for="autoSaveDelayInput" id="autoSaveDelayLabel"></label>
  120. <input type="number" id="autoSaveDelayInput" min="0">
  121. </div>
  122. </details>
  123. <details>
  124. <summary id="miscLabel"></summary>
  125. <div class="option">
  126. <label for="backgroundSaveInput" id="backgroundSaveLabel"></label>
  127. <input type="checkbox" id="backgroundSaveInput">
  128. </div>
  129. <div class="option">
  130. <label for="displayStatsInput" id="displayStatsLabel"></label>
  131. <input type="checkbox" id="displayStatsInput">
  132. </div>
  133. <div class="option">
  134. <label for="maxResourceSizeEnabledInput" id="setMaxResourceSizeLabel"></label>
  135. <input type="checkbox" id="maxResourceSizeEnabledInput">
  136. </div>
  137. <div class="option second-level">
  138. <label for="maxResourceSizeInput" id="maxResourceSizeLabel"></label>
  139. <input type="number" id="maxResourceSizeInput" min="1">
  140. </div>
  141. <div class="option">
  142. <label for="saveRawPageInput" id="saveRawPageLabel"></label>
  143. <input type="checkbox" id="saveRawPageInput">
  144. </div>
  145. </details>
  146. <div class="option bottom">
  147. <a href="help.html" target="SingleFileHelpPage" id="helpLabel"></a>
  148. <button id="resetButton"></button>
  149. </div>
  150. <script type="text/javascript" src="/lib/browser-polyfill/custom-browser-polyfill.js"></script>
  151. <script type="text/javascript" src="../bg/options.js"></script>
  152. </body>
  153. </html>