options.html 25 KB

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