options.html 28 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661
  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. <meta name="viewport" content="width=device-width,initial-scale=1">
  8. <meta name="color-scheme" content="light dark">
  9. <link rel="icon" href="/src/ui/resources/icon_128.png">
  10. </head>
  11. <body>
  12. <main>
  13. <h3>
  14. <span class="options-title">
  15. <span id="expandAllButton"></span>
  16. <span id="titleLabel"></span>
  17. <a href="options.html#" target="_blank" class="new-window-link"><img
  18. src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAQElEQVR42qXKwQkAIAxDUUdxtO6/RBQkQZvSi8I/pL4BoGw/XPkh4XigPmsUgh0626AjRsgxHTkUThsG2T/sIlzdTsp52kSS1wAAAABJRU5ErkJggg=="></a>
  19. <a href="options-editor.html" target="_blank" class="new-window-link"><img
  20. src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAABg2lDQ1BJQ0MgcHJvZmlsZQAAKJF9kT1Iw0AcxV9TpSIVQYuoOGSoTnbRIo61CkWoEGqFVh1MLv2CJg1Jiouj4Fpw8GOx6uDirKuDqyAIfoC4C06KLlLi/5pCixgPjvvx7t7j7h0g1MtMs7pigKbbZioRFzPZVTHwCgEDGMIIojKzjDlJSsJzfN3Dx9e7CM/yPvfn6FNzFgN8InGMGaZNvEE8s2kbnPeJQ6woq8TnxJMmXZD4keuKy2+cC00WeGbITKfmiUPEYqGDlQ5mRVMjjhKHVU2nfCHjssp5i7NWrrLWPfkLgzl9ZZnrNMeQwCKWIEGEgipKKMNGhFadFAsp2o97+EebfolcCrlKYORYQAUa5KYf/A9+d2vlp6fcpGAc6H5xnI9xILALNGqO833sOI0TwP8MXOltf6UOzH6SXmtr4SOgfxu4uG5ryh5wuQMMPxmyKTclP00hnwfez+ibssDgLdC75vbW2sfpA5CmrpI3wMEhMFGg7HWPd/d09vbvmVZ/P8lTcsmmxgruAAAABmJLR0QAAAAAAAD5Q7t/AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH6QISFiAoxdV/BAAAABl0RVh0Q29tbWVudABDcmVhdGVkIHdpdGggR0lNUFeBDhcAAAAkSURBVBjTY2AgEjBC6f9EqqPcROJNwmci6aaQ6mtGqpmIYhIA3lQFBjN3Og8AAAAASUVORK5CYII="></a>
  21. </span>
  22. <span class="profiles">
  23. <select id="profileNamesInput"></select>
  24. <button id="addProfileButton"><img src="../resources/button_new.png"></button>
  25. <button id="deleteProfileButton"><img src="../resources/button_delete.png"></button>
  26. <button id="renameProfileButton"><img src="../resources/button_edit.png"></button>
  27. </span>
  28. </h3>
  29. <details>
  30. <summary id="userInterfaceLabel"></summary>
  31. <div class="option">
  32. <label for="contextMenuEnabledInput" id="addMenuEntryLabel"></label>
  33. <input type="checkbox" id="contextMenuEnabledInput">
  34. </div>
  35. <div class="option">
  36. <label for="shadowEnabledInput" id="shadowEnabledLabel"></label>
  37. <input type="checkbox" id="shadowEnabledInput">
  38. </div>
  39. <div class="option" id="openSavedPageOption">
  40. <label for="openSavedPageInput" id="openSavedPageLabel"></label>
  41. <input type="checkbox" id="openSavedPageInput">
  42. </div>
  43. <div class="option" id="autoCloseOption">
  44. <label for="autoCloseInput" id="autoCloseLabel"></label>
  45. <input type="checkbox" id="autoCloseInput">
  46. </div>
  47. </details>
  48. <details>
  49. <summary id="filenameLabel"></summary>
  50. <div class="option vertical">
  51. <label for="filenameTemplateInput" id="filenameTemplateLabel"></label>
  52. <textarea id="filenameTemplateInput"></textarea>
  53. </div>
  54. <div class="option">
  55. <label for="filenameMaxLengthInput" id="filenameMaxLengthLabel"></label>
  56. <div class="option-input">
  57. <input type="number" id="filenameMaxLengthInput" min="1">
  58. <select id="filenameMaxLengthUnitInput">
  59. <option id="filenameMaxLengthBytesUnitLabel" value="bytes"></option>
  60. <option id="filenameMaxLengthCharsUnitLabel" value="chars"></option>
  61. </select>
  62. </div>
  63. </div>
  64. <div class="option">
  65. <label for="filenameReplacementCharacterInput" id="filenameReplacementCharacterLabel"></label>
  66. <div class="option-input">
  67. <input type="text" id="filenameReplacementCharacterInput" class="small-input">
  68. </div>
  69. </div>
  70. <div class="option">
  71. <label for="replaceEmojisInFilenameInput" id="replaceEmojisInFilenameLabel"></label>
  72. <input type="checkbox" id="replaceEmojisInFilenameInput">
  73. </div>
  74. <div class="option">
  75. <label for="saveFilenameTemplateDataInput" id="saveFilenameTemplateDataLabel"></label>
  76. <input type="checkbox" id="saveFilenameTemplateDataInput">
  77. </div>
  78. <div class="option" id="confirmFilenameOption">
  79. <label for="confirmFilenameInput" id="confirmFilenameLabel"></label>
  80. <input type="checkbox" id="confirmFilenameInput">
  81. </div>
  82. <div class="option" id="filenameConflictAction">
  83. <label for="filenameConflictActionInput" id="filenameConflictActionLabel"></label>
  84. <select id="filenameConflictActionInput">
  85. <option id="filenameConflictActionUniquifyLabel" value="uniquify"></option>
  86. <option id="filenameConflictActionOverwriteLabel" value="overwrite"></option>
  87. <option id="filenameConflictActionPromptLabel" value="prompt"></option>
  88. <option id="filenameConflictActionSkipLabel" value="skip"></option>
  89. </select>
  90. </div>
  91. </details>
  92. <details>
  93. <summary id="fileFormatLabel"></summary>
  94. <div class="option">
  95. <label for="fileFormatSelectInput" id="fileFormatSelectLabel"></label>
  96. <select id="fileFormatSelectInput">
  97. <option id="fileFormatSelectHTMLLabel" value="html"></option>
  98. <option id="fileFormatSelectSelfExtractingUniversalLabel" value="self-extracting-zip-universal">
  99. </option>
  100. <option id="fileFormatSelectSelfExtractingLabel" value="self-extracting-zip"></option>
  101. <option id="fileFormatSelectZIPLabel" value="zip"></option>
  102. </select>
  103. </div>
  104. <div class="option vertical">
  105. <label for="passwordInput" id="passwordLabel"></label>
  106. <input type="text" id="passwordInput">
  107. </div>
  108. <div class="option">
  109. <label for="insertEmbeddedImageInput" id="insertEmbeddedImageLabel"></label>
  110. <input type="checkbox" id="insertEmbeddedImageInput" name="embeddedImageInput">
  111. </div>
  112. <div class="option second-level">
  113. <label for="insertEmbeddedScreenshotImageInput" id="insertEmbeddedScreenshotImageLabel"></label>
  114. <input type="radio" id="insertEmbeddedScreenshotImageInput" name="embeddedImageInput">
  115. </div>
  116. <div class="option second-level">
  117. <label for="insertEmbeddedCustomImageInput" id="insertEmbeddedCustomImageLabel"></label>
  118. <input type="radio" id="insertEmbeddedCustomImageInput" name="embeddedImageInput">
  119. </div>
  120. <div class="option">
  121. <label for="createRootDirectoryInput" id="createRootDirectoryLabel"></label>
  122. <input type="checkbox" id="createRootDirectoryInput">
  123. </div>
  124. <div class="option">
  125. <label for="preventAppendedDataInput" id="preventAppendedDataLabel"></label>
  126. <input type="checkbox" id="preventAppendedDataInput">
  127. </div>
  128. <div class="option">
  129. <label for="insertTextBodyInput" id="insertTextBodyLabel"></label>
  130. <input type="checkbox" id="insertTextBodyInput">
  131. </div>
  132. </details>
  133. <details>
  134. <summary id="htmlContentLabel"></summary>
  135. <div class="option">
  136. <label for="compressHTMLInput" id="compressHTMLLabel"></label>
  137. <input type="checkbox" id="compressHTMLInput">
  138. </div>
  139. <div class="option">
  140. <label for="removeHiddenElementsInput" id="removeHiddenElementsLabel"></label>
  141. <input type="checkbox" id="removeHiddenElementsInput">
  142. </div>
  143. <div class="option">
  144. <label for="insertMetaCSPInput" id="insertMetaCSPLabel"></label>
  145. <input type="checkbox" id="insertMetaCSPInput">
  146. </div>
  147. <div class="option">
  148. <label for="removeFramesInput" id="removeFramesLabel"></label>
  149. <input type="checkbox" id="removeFramesInput">
  150. </div>
  151. <div class="option">
  152. <label for="saveOriginalURLsInput" id="saveOriginalURLsLabel"></label>
  153. <input type="checkbox" id="saveOriginalURLsInput">
  154. </div>
  155. <div class="option">
  156. <label for="removeInfobarSavedDateInput" id="removeInfobarSavedDateLabel"></label>
  157. <input type="checkbox" id="removeInfobarSavedDateInput">
  158. </div>
  159. <div class="option">
  160. <label for="saveRawPageInput" id="saveRawPageLabel"></label>
  161. <input type="checkbox" id="saveRawPageInput">
  162. </div>
  163. </details>
  164. <details>
  165. <summary id="infobarLabel"></summary>
  166. <div class="option" id="displayInfobarOption">
  167. <label for="displayInfobarInput" id="displayInfobarLabel"></label>
  168. <input type="checkbox" id="displayInfobarInput">
  169. </div>
  170. <div class="option vertical">
  171. <label for="infobarTemplateInput" id="infobarTemplateLabel"></label>
  172. <textarea id="infobarTemplateInput"></textarea>
  173. </div>
  174. <div class="option">
  175. <label for="confirmInfobarInput" id="confirmInfobarLabel"></label>
  176. <input type="checkbox" id="confirmInfobarInput">
  177. </div>
  178. <div class="option">
  179. <label for="includeInfobarInput" id="includeInfobarLabel"></label>
  180. <input type="checkbox" id="includeInfobarInput">
  181. </div>
  182. <div class="option">
  183. <label for="openInfobarInput" id="openInfobarLabel"></label>
  184. <input type="checkbox" id="openInfobarInput">
  185. </div>
  186. </details>
  187. <details>
  188. <summary id="stylesheetsLabel"></summary>
  189. <div class="option">
  190. <label for="removeUnusedStylesInput" id="removeUnusedStylesLabel"></label>
  191. <input type="checkbox" id="removeUnusedStylesInput">
  192. </div>
  193. <div class="option">
  194. <label for="removeAlternativeMediasInput" id="removeAlternativeMediasLabel"></label>
  195. <input type="checkbox" id="removeAlternativeMediasInput">
  196. </div>
  197. <div class="option">
  198. <label for="compressCSSInput" id="compressCSSLabel"></label>
  199. <input type="checkbox" id="compressCSSInput">
  200. </div>
  201. <div class="option">
  202. <label for="groupDuplicateStylesheetsInput" id="groupDuplicateStylesheetsLabel"></label>
  203. <input type="checkbox" id="groupDuplicateStylesheetsInput">
  204. </div>
  205. <div class="option">
  206. <label for="moveStylesInHeadInput" id="moveStylesInHeadLabel"></label>
  207. <input type="checkbox" id="moveStylesInHeadInput">
  208. </div>
  209. </details>
  210. <details>
  211. <summary id="imagesLabel"></summary>
  212. <div class="option">
  213. <label for="groupDuplicateImagesInput" id="groupDuplicateImagesLabel"></label>
  214. <input type="checkbox" id="groupDuplicateImagesInput">
  215. </div>
  216. <div class="option">
  217. <label for="loadDeferredImagesInput" id="loadDeferredImagesLabel"></label>
  218. <input type="checkbox" id="loadDeferredImagesInput">
  219. </div>
  220. <div class="option second-level">
  221. <label for="loadDeferredImagesMaxIdleTimeInput" id="loadDeferredImagesMaxIdleTimeLabel"></label>
  222. <input type="number" class="large-input" id="loadDeferredImagesMaxIdleTimeInput" step="100">
  223. </div>
  224. <div class="option second-level">
  225. <label for="loadDeferredImagesDispatchScrollEventInput"
  226. id="loadDeferredImagesDispatchScrollEventLabel"></label>
  227. <input type="checkbox" id="loadDeferredImagesDispatchScrollEventInput">
  228. </div>
  229. <div class="option second-level">
  230. <label for="loadDeferredImagesKeepZoomLevelInput" id="loadDeferredImagesKeepZoomLevelLabel"></label>
  231. <input type="checkbox" id="loadDeferredImagesKeepZoomLevelInput">
  232. </div>
  233. <div class="option second-level">
  234. <label for="loadDeferredImagesBeforeFramesInput" id="loadDeferredImagesBeforeFramesLabel"></label>
  235. <input type="checkbox" id="loadDeferredImagesBeforeFramesInput">
  236. </div>
  237. <div class="option">
  238. <label for="removeAlternativeImagesInput" id="removeAlternativeImagesLabel"></label>
  239. <input type="checkbox" id="removeAlternativeImagesInput">
  240. </div>
  241. </details>
  242. <details>
  243. <summary id="fontsLabel"></summary>
  244. <div class="option">
  245. <label for="removeUnusedFontsInput" id="removeUnusedFontsLabel"></label>
  246. <input type="checkbox" id="removeUnusedFontsInput">
  247. </div>
  248. <div class="option">
  249. <label for="removeAlternativeFontsInput" id="removeAlternativeFontsLabel"></label>
  250. <input type="checkbox" id="removeAlternativeFontsInput">
  251. </div>
  252. </details>
  253. <details>
  254. <summary id="destinationLabel"></summary>
  255. <div class="option">
  256. <label for="saveToFilesystemInput" id="saveToFilesystemLabel"></label>
  257. <input type="radio" id="saveToFilesystemInput" name="destinationInput">
  258. </div>
  259. <div class="option" id="sharePageOption">
  260. <label for="sharePageInput" id="sharePageLabel"></label>
  261. <input type="radio" id="sharePageInput" name="destinationInput">
  262. </div>
  263. <div class="option" id="saveToClipboardOption">
  264. <label for="saveToClipboardInput" id="saveToClipboardLabel"></label>
  265. <input type="radio" id="saveToClipboardInput" name="destinationInput">
  266. </div>
  267. <div class="option">
  268. <label for="saveToGitHubInput" id="saveToGitHubLabel"></label>
  269. <input type="radio" id="saveToGitHubInput" name="destinationInput">
  270. </div>
  271. <div class="option second-level">
  272. <label for="githubTokenInput" id="githubTokenLabel"></label>
  273. <input type="text" id="githubTokenInput" class="medium-input">
  274. </div>
  275. <div class="option second-level">
  276. <label for="githubUserInput" id="githubUserLabel"></label>
  277. <input type="text" id="githubUserInput" class="medium-input">
  278. </div>
  279. <div class="option second-level">
  280. <label for="githubRepositoryInput" id="githubRepositoryLabel"></label>
  281. <input type="text" id="githubRepositoryInput" class="medium-input">
  282. </div>
  283. <div class="option second-level">
  284. <label for="githubBranchInput" id="githubBranchLabel"></label>
  285. <input type="text" id="githubBranchInput" class="medium-input">
  286. </div>
  287. <div class="option">
  288. <label for="saveWithWebDAVInput" id="saveWithWebDAVLabel"></label>
  289. <input type="radio" id="saveWithWebDAVInput" name="destinationInput">
  290. </div>
  291. <div class="option second-level">
  292. <label for="webDAVURLInput" id="webDAVURLLabel"></label>
  293. <input type="text" id="webDAVURLInput" class="medium-input">
  294. </div>
  295. <div class="option second-level">
  296. <label for="webDAVUserInput" id="webDAVUserLabel"></label>
  297. <input type="text" id="webDAVUserInput" class="medium-input">
  298. </div>
  299. <div class="option second-level">
  300. <label for="webDAVPasswordInput" id="webDAVPasswordLabel"></label>
  301. <input type="password" id="webDAVPasswordInput" class="medium-input">
  302. </div>
  303. <div class="option" id="saveToGDriveOption">
  304. <label for="saveToGDriveInput" id="saveToGDriveLabel"></label>
  305. <input type="radio" id="saveToGDriveInput" name="destinationInput">
  306. </div>
  307. <div class="option" id="saveToS3Option">
  308. <label for="saveToS3Input" id="saveToS3Label"></label>
  309. <input type="radio" id="saveToS3Input" name="destinationInput">
  310. </div>
  311. <div class="option second-level">
  312. <label for="S3DomainInput" id="S3DomainLabel"></label>
  313. <input type="text" id="S3DomainInput" class="medium-input">
  314. </div>
  315. <div class="option second-level">
  316. <label for="S3RegionInput" id="S3RegionLabel"></label>
  317. <input type="text" id="S3RegionInput" class="medium-input">
  318. </div>
  319. <div class="option second-level">
  320. <label for="S3BucketInput" id="S3BucketLabel"></label>
  321. <input type="text" id="S3BucketInput" class="medium-input">
  322. </div>
  323. <div class="option second-level">
  324. <label for="S3AccessKeyInput" id="S3AccessKeyLabel"></label>
  325. <input type="text" id="S3AccessKeyInput" class="medium-input">
  326. </div>
  327. <div class="option second-level">
  328. <label for="S3SecretKeyInput" id="S3SecretKeyLabel"></label>
  329. <input type="password" id="S3SecretKeyInput" class="medium-input">
  330. </div>
  331. <div class="option" id="saveToDropboxOption">
  332. <label for="saveToDropboxInput" id="saveToDropboxLabel"></label>
  333. <input type="radio" id="saveToDropboxInput" name="destinationInput">
  334. </div>
  335. <div class="option" id="saveWithCompanionOption">
  336. <label for="saveWithCompanionInput" id="saveWithCompanionLabel"></label>
  337. <input type="radio" id="saveWithCompanionInput" name="destinationInput">
  338. </div>
  339. <div class="option">
  340. <label for="saveToRestFormApiInput" id="saveToRestFormApiLabel"></label>
  341. <input type="radio" id="saveToRestFormApiInput" name="destinationInput">
  342. </div>
  343. <div class="option second-level">
  344. <label for="saveToRestFormApiUrlInput" id="saveToRestFormApiUrlLabel"></label>
  345. <input type="text" id="saveToRestFormApiUrlInput" class="medium-input">
  346. </div>
  347. <div class="option second-level">
  348. <label for="saveToRestFormApiTokenInput" id="saveToRestFormApiTokenLabel"></label>
  349. <input type="password" id="saveToRestFormApiTokenInput" class="medium-input">
  350. </div>
  351. <div class="option second-level">
  352. <label for="saveToRestFormApiFileFieldNameInput" id="saveToRestFormApiFileFieldNameLabel"></label>
  353. <input type="text" id="saveToRestFormApiFileFieldNameInput" class="medium-input">
  354. </div>
  355. <div class="option second-level">
  356. <label for="saveToRestFormApiUrlFieldNameInput" id="saveToRestFormApiUrlFieldNameLabel"></label>
  357. <input type="text" id="saveToRestFormApiUrlFieldNameInput" class="medium-input">
  358. </div>
  359. </details>
  360. <details>
  361. <summary id="networkLabel"></summary>
  362. <div class="option">
  363. <label id="blockResourcesLabel"></label>
  364. </div>
  365. <div class="option second-level">
  366. <label for="blockImagesInput" id="blockImagesLabel"></label>
  367. <input type="checkbox" id="blockImagesInput">
  368. </div>
  369. <div class="option second-level">
  370. <label for="blockStylesheetsInput" id="blockStylesheetsLabel"></label>
  371. <input type="checkbox" id="blockStylesheetsInput">
  372. </div>
  373. <div class="option second-level">
  374. <label for="blockFontsInput" id="blockFontsLabel"></label>
  375. <input type="checkbox" id="blockFontsInput">
  376. </div>
  377. <div class="option second-level">
  378. <label for="blockScriptsInput" id="blockScriptsLabel"></label>
  379. <input type="checkbox" id="blockScriptsInput">
  380. </div>
  381. <div class="option second-level">
  382. <label for="blockVideosInput" id="blockVideosLabel"></label>
  383. <input type="checkbox" id="blockVideosInput">
  384. </div>
  385. <div class="option second-level">
  386. <label for="blockAudiosInput" id="blockAudiosLabel"></label>
  387. <input type="checkbox" id="blockAudiosInput">
  388. </div>
  389. <div class="option">
  390. <label for="blockMixedContentInput" id="blockMixedContentLabel"></label>
  391. <input type="checkbox" id="blockMixedContentInput">
  392. </div>
  393. <div class="option">
  394. <label id="acceptHeadersLabel"></label>
  395. </div>
  396. <div class="option second-level">
  397. <label for="acceptHeaderDocumentInput" id="acceptHeaderDocumentLabel"></label>
  398. <input type="text" id="acceptHeaderDocumentInput">
  399. </div>
  400. <div class="option second-level">
  401. <label for="acceptHeaderImageInput" id="acceptHeaderImageLabel"></label>
  402. <input type="text" id="acceptHeaderImageInput">
  403. </div>
  404. <div class="option second-level">
  405. <label for="acceptHeaderStylesheetInput" id="acceptHeaderStylesheetLabel"></label>
  406. <input type="text" id="acceptHeaderStylesheetInput">
  407. </div>
  408. <div class="option second-level">
  409. <label for="acceptHeaderFontInput" id="acceptHeaderFontLabel"></label>
  410. <input type="text" id="acceptHeaderFontInput">
  411. </div>
  412. <div class="option second-level">
  413. <label for="acceptHeaderScriptInput" id="acceptHeaderScriptLabel"></label>
  414. <input type="text" id="acceptHeaderScriptInput">
  415. </div>
  416. <div class="option second-level">
  417. <label for="acceptHeaderVideoInput" id="acceptHeaderVideoLabel"></label>
  418. <input type="text" id="acceptHeaderVideoInput">
  419. </div>
  420. <div class="option second-level">
  421. <label for="acceptHeaderAudioInput" id="acceptHeaderAudioLabel"></label>
  422. <input type="text" id="acceptHeaderAudioInput">
  423. </div>
  424. <div class="option">
  425. <label for="maxResourceSizeEnabledInput" id="setMaxResourceSizeLabel"></label>
  426. <input type="checkbox" id="maxResourceSizeEnabledInput">
  427. </div>
  428. <div class="option second-level">
  429. <label for="maxResourceSizeInput" id="maxResourceSizeLabel"></label>
  430. <input type="number" id="maxResourceSizeInput" min="1">
  431. </div>
  432. <div class="option">
  433. <label for="maxResourceDelayEnabledInput" id="setMaxResourceDelayLabel"></label>
  434. <input type="checkbox" id="maxResourceDelayEnabledInput">
  435. </div>
  436. <div class="option second-level">
  437. <label for="maxResourceDelayInput" id="maxResourceDelayLabel"></label>
  438. <input type="number" id="maxResourceDelayInput" min="1">
  439. </div>
  440. <div class="option" id="passReferrerOnErrorOption">
  441. <label for="passReferrerOnErrorInput" id="passReferrerOnErrorLabel"></label>
  442. <input type="checkbox" id="passReferrerOnErrorInput">
  443. </div>
  444. </details>
  445. <details>
  446. <summary id="editorLabel"></summary>
  447. <div class="option">
  448. <label for="defaultEditorModeInput" id="defaultEditorModeLabel"></label>
  449. <select id="defaultEditorModeInput">
  450. <option id="defaultEditorModeNormalLabel" value="normal"></option>
  451. <option id="defaultEditorModeEditLabel" value="edit"></option>
  452. <option id="defaultEditorModeFormatLabel" value="format"></option>
  453. <option id="defaultEditorModeCutLabel" value="cut"></option>
  454. <option id="defaultEditorModeCutExternalLabel" value="cut-external"></option>
  455. </select>
  456. </div>
  457. <div class="option">
  458. <label for="applySystemThemeInput" id="applySystemThemeLabel"></label>
  459. <input type="checkbox" id="applySystemThemeInput">
  460. </div>
  461. <div class="option">
  462. <label for="warnUnsavedPageInput" id="warnUnsavedPageLabel"></label>
  463. <input type="checkbox" id="warnUnsavedPageInput">
  464. </div>
  465. <div class="option">
  466. <label for="openEditorInput" id="openEditorLabel"></label>
  467. <input type="checkbox" id="openEditorInput">
  468. </div>
  469. <div class="option" id="autoOpenEditorOption">
  470. <label for="autoOpenEditorInput" id="autoOpenEditorLabel"></label>
  471. <input type="checkbox" id="autoOpenEditorInput">
  472. </div>
  473. <div class="option">
  474. <label for="displayInfobarInEditorInput" id="displayInfobarInEditorLabel"></label>
  475. <input type="checkbox" id="displayInfobarInEditorInput">
  476. </div>
  477. </details>
  478. <details id="bookmarksOptions">
  479. <summary id="bookmarksLabel"></summary>
  480. <div class="option">
  481. <label for="saveCreatedBookmarksInput" id="saveCreatedBookmarksLabel"></label>
  482. <input type="checkbox" id="saveCreatedBookmarksInput">
  483. </div>
  484. <div class="option second-level">
  485. <label for="replaceBookmarkURLInput" id="replaceBookmarkURLLabel"></label>
  486. <input type="checkbox" id="replaceBookmarkURLInput">
  487. </div>
  488. <div class="option second-level vertical">
  489. <label for="ignoredBookmarkFoldersInput" id="ignoredBookmarkFoldersLabel"></label>
  490. <input type="text" id="ignoredBookmarkFoldersInput">
  491. </div>
  492. <div class="option second-level vertical">
  493. <label for="allowedBookmarkFoldersInput" id="allowedBookmarkFoldersLabel"></label>
  494. <input type="text" id="allowedBookmarkFoldersInput">
  495. </div>
  496. </details>
  497. <details id="autoSaveSection">
  498. <summary id="autoSaveLabel"></summary>
  499. <div class="option">
  500. <label for="autoSaveLoadOrUnloadInput" id="autoSaveLoadOrUnloadLabel"></label>
  501. <input type="checkbox" id="autoSaveLoadOrUnloadInput">
  502. </div>
  503. <div class="option second-level">
  504. <label for="autoSaveLoadInput" id="autoSaveLoadLabel"></label>
  505. <input type="checkbox" id="autoSaveLoadInput">
  506. </div>
  507. <div class="option second-level">
  508. <label for="autoSaveUnloadInput" id="autoSaveUnloadLabel"></label>
  509. <input type="checkbox" id="autoSaveUnloadInput">
  510. </div>
  511. <div class="option">
  512. <label for="autoSaveDiscardInput" id="autoSaveDiscardLabel"></label>
  513. <input type="checkbox" id="autoSaveDiscardInput">
  514. </div>
  515. <div class="option">
  516. <label for="autoSaveRemoveInput" id="autoSaveRemoveLabel"></label>
  517. <input type="checkbox" id="autoSaveRemoveInput">
  518. </div>
  519. <div class="option">
  520. <label for="autoSaveDelayInput" id="autoSaveDelayLabel"></label>
  521. <input type="number" id="autoSaveDelayInput" min="0">
  522. </div>
  523. <div class="option">
  524. <label for="autoSaveRepeatInput" id="autoSaveRepeatLabel"></label>
  525. <input type="checkbox" id="autoSaveRepeatInput">
  526. </div>
  527. <div class="option second-level">
  528. <label for="autoSaveRepeatDelayInput" id="autoSaveRepeatDelayLabel"></label>
  529. <input type="number" id="autoSaveRepeatDelayInput" min="1">
  530. </div>
  531. <div class="option">
  532. <label for="autoSaveExternalSaveInput" id="autoSaveExternalSaveLabel"></label>
  533. <input type="checkbox" id="autoSaveExternalSaveInput">
  534. </div>
  535. </details>
  536. <details>
  537. <summary id="miscLabel"></summary>
  538. <div class="option">
  539. <label for="addProofInput" id="addProofLabel"></label>
  540. <input type="checkbox" id="addProofInput">
  541. </div>
  542. <div class="option second-level vertical" hidden>
  543. <label for="woleetKeyInput" id="woleetKeyLabel"></label>
  544. <input type="text" id="woleetKeyInput">
  545. </div>
  546. <div class="option" id="backgroundSaveOptions">
  547. <label for="backgroundSaveInput" id="backgroundSaveLabel"></label>
  548. <input type="checkbox" id="backgroundSaveInput">
  549. </div>
  550. <div class="option">
  551. <label for="displayStatsInput" id="displayStatsLabel"></label>
  552. <input type="checkbox" id="displayStatsInput">
  553. </div>
  554. </details>
  555. <details>
  556. <summary id="autoSettingsLabel"></summary>
  557. <div class="rules-table-container compact">
  558. <div class="thead">
  559. <div class="tr">
  560. <span class="th" id="autoSettingsUrlLabel"></span>
  561. <span class="th" id="autoSettingsProfileLabel"></span>
  562. <span class="th rule-autosave-profile" id="autoSettingsAutoSaveProfileLabel"></span>
  563. <span class="th"><button id="rulesDeleteAllButton"><img
  564. src="../resources/button_delete_all.png"></button></span>
  565. </div>
  566. </div>
  567. <div class="rules-table">
  568. <div class="rules-data">
  569. </div>
  570. <div hidden class="tr rule-view">
  571. <span class="td rule-url"></span>
  572. <span class="td rule-profile"></span>
  573. <span class="td rule-autosave-profile"></span>
  574. <span class="td"><button class="rule-update-button"><img
  575. src="../resources/button_edit.png"></button> <button class="rule-delete-button"><img
  576. src="../resources/button_delete.png"></button></span>
  577. </div>
  578. <form class="tr rule-create">
  579. <span class="td rule-url"><input type="text" id="ruleUrlInput"
  580. placeholder="Type a complete or partial URL (e.g. example.com)"></span>
  581. <span class="td rule-profile"><select id="ruleProfileInput"></select></span>
  582. <span class="td rule-autosave-profile"><select id="ruleAutoSaveProfileInput"></select></span>
  583. <span class="td"><button id="ruleAddButton" disabled type="submit"><img
  584. src="../resources/button_new.png"></button></span>
  585. </form>
  586. <form hidden class="tr rule-edit">
  587. <span class="td rule-url"><input type="text" id="ruleEditUrlInput"></span>
  588. <span class="td rule-profile"><select id="ruleEditProfileInput"></select></span>
  589. <span class="td rule-autosave-profile"><select
  590. id="ruleEditAutoSaveProfileInput"></select></span>
  591. <span class="td"><button id="ruleEditButton" type="submit"><img
  592. src="../resources/button_ok.png"></button> <button id="ruleCancelButton"><img
  593. src="../resources/button_cancel.png"></button></span>
  594. </form>
  595. </div>
  596. </div>
  597. <div class="option">
  598. <label for="showAllProfilesInput" id="showAllProfilesLabel"></label>
  599. <input type="checkbox" id="showAllProfilesInput">
  600. </div>
  601. <div class="option" id="showAutoSaveProfileOption">
  602. <label for="showAutoSaveProfileInput" id="showAutoSaveProfileLabel"></label>
  603. <input type="checkbox" id="showAutoSaveProfileInput">
  604. </div>
  605. </details>
  606. <div class="option bottom">
  607. <a target="SingleFileHelpPage" id="helpLabel"></a>
  608. <div class="buttons">
  609. <div class="sync-input">
  610. <input type="checkbox" id="synchronizeInput">
  611. <label for="synchronizeInput" id="synchronizeLabel"></label>
  612. </div>
  613. <button id="importButton"></button>
  614. <button id="exportButton"></button>
  615. <button id="resetButton"></button>
  616. <input type="file" id="fileInput" hidden>
  617. </div>
  618. </div>
  619. <div id="formResetContainer" class="popup">
  620. <form class="popup-content">
  621. <header>
  622. <span id="resetConfirmLabel"></span>
  623. </header>
  624. <footer>
  625. <button type="submit" id="resetAllButton"></button>
  626. <button id="resetCurrentButton"></button>
  627. <button id="resetCancelButton"></button>
  628. </footer>
  629. </form>
  630. </div>
  631. <div id="formConfirmContainer" class="popup">
  632. <form class="popup-content">
  633. <header>
  634. <span id="confirmLabel"></span>
  635. </header>
  636. <footer>
  637. <button type="submit" id="confirmButton"></button>
  638. <button id="cancelButton"></button>
  639. </footer>
  640. </form>
  641. </div>
  642. <div id="formPromptContainer" class="popup">
  643. <form class="popup-content">
  644. <header>
  645. <span id="promptLabel"></span>
  646. </header>
  647. <main><input id="promptInput" type="text"></main>
  648. <footer>
  649. <button type="submit" id="promptConfirmButton"></button>
  650. <button id="promptCancelButton"></button>
  651. </footer>
  652. </form>
  653. </div>
  654. </main>
  655. <script src="/lib/chrome-browser-polyfill.js"></script>
  656. <script type="module" src="../bg/ui-options.js"></script>
  657. </body>
  658. </html>