options.html 6.0 KB

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