options.html 2.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  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. <div>
  10. <div id="popupContent">
  11. <h3>Options</h3>
  12. <h4>User interface</h4>
  13. <div class="option">
  14. <label for="contextMenuEnabledInput">add entry in the context menu</label>
  15. <input type="checkbox" id="contextMenuEnabledInput">
  16. </div>
  17. <div class="option">
  18. <label for="shadowEnabledInput">overlay a shadow on the page during processing</label>
  19. <input type="checkbox" id="shadowEnabledInput">
  20. </div>
  21. <h4>File name</h4>
  22. <div class="option">
  23. <label for="appendSaveDateInput">append the save date to the file name</label>
  24. <input type="checkbox" id="appendSaveDateInput">
  25. </div>
  26. <div class="option">
  27. <label for="confirmFilenameInput">enter file name before saving the page</label>
  28. <input type="checkbox" id="confirmFilenameInput">
  29. </div>
  30. <h4>Page content</h4>
  31. <div class="option">
  32. <label for="lazyLoadImagesInput">save lazy loaded images</label>
  33. <input type="checkbox" id="lazyLoadImagesInput">
  34. </div>
  35. <div class="option">
  36. <label for="compressInput">compress HTML and CSS</label>
  37. <input type="checkbox" id="compressInput">
  38. </div>
  39. <div class="option">
  40. <label for="removeUnusedCSSRulesInput">remove unused CSS rules</label>
  41. <input type="checkbox" id="removeUnusedCSSRulesInput">
  42. </div>
  43. <div class="option">
  44. <label for="removeImportsInput">remove HTML imports</label>
  45. <input type="checkbox" id="removeImportsInput">
  46. </div>
  47. <div class="option">
  48. <label for="removeScriptsInput">remove scripts</label>
  49. <input type="checkbox" id="removeScriptsInput">
  50. </div>
  51. <div class="option">
  52. <label for="removeFramesInput">remove frames</label>
  53. <input type="checkbox" id="removeFramesInput">
  54. </div>
  55. <div class="option">
  56. <label for="removeHiddenElementsInput">remove hidden elements</label>
  57. <input type="checkbox" id="removeHiddenElementsInput">
  58. </div>
  59. <div class="option">
  60. <label for="saveRawPageInput">save raw page</label>
  61. <input type="checkbox" id="saveRawPageInput">
  62. </div>
  63. <div class="option">
  64. <label for="maxResourceSizeEnabledInput">set a maximum size for embedded resources</label>
  65. <input type="checkbox" id="maxResourceSizeEnabledInput">
  66. </div>
  67. <div class="option second-level">
  68. <label for="maxResourceSizeInput">maximum size (Mb)</label>
  69. <input type="number" id="maxResourceSizeInput" min="1">
  70. </div>
  71. <div class="option bottom">
  72. <a href="help.html" target="SingleFileHelpPage">help</a>
  73. <button id="resetButton" title="Reset all the options to default values">Reset</button>
  74. </div>
  75. </div>
  76. </div>
  77. <script type="text/javascript" src="/lib/browser-polyfill/custom-browser-polyfill.js"></script>
  78. <script type="text/javascript" src="../bg/options.js"></script>
  79. </body>
  80. </html>