options.html 6.7 KB

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