options.html 23 KB

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