options.html 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  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. <h2>SingleFile</h2>
  11. <hr>
  12. <div id="popupContent">
  13. <h4>Basic options</h4>
  14. <div class="option">
  15. <label for="removeFramesInput">remove frames <img class="question-mark" src="../resources/icon_question_mark.jpg"></label> <input type="checkbox" id="removeFramesInput">
  16. <div class="help">
  17. <p>Check this option to remove all frames on the page.</p>
  18. <p class="notice">It is recommended to <u>uncheck</u> this option</p>
  19. </div>
  20. </div>
  21. <div class="option">
  22. <label for="removeObjectsInput">remove objects <img class="question-mark" src="../resources/icon_question_mark.jpg"></label> <input type="checkbox" id="removeObjectsInput">
  23. <div class="help">
  24. <p>Check this option to remove all non embeddable elements : flash objects, java applets ...</p>
  25. <p class="notice">It is recommended to <u>check</u> this option</p>
  26. </div>
  27. </div>
  28. <div class="option">
  29. <label for="removeHiddenInput">remove hidden elements <img class="question-mark" src="../resources/icon_question_mark.jpg"></label> <input type="checkbox" id="removeHiddenInput">
  30. <div class="help">
  31. <p>Check this option to remove all hidden elements.</p>
  32. <p class="notice">It is recommended to <u>uncheck</u> this option</p>
  33. </div>
  34. </div>
  35. <div class="option">
  36. <label for="displayInContextMenuInput">add entry in the context menu <img class="question-mark" src="../resources/icon_question_mark.jpg"></label> <input type="checkbox" id="displayInContextMenuInput">
  37. <div class="help">
  38. <p>Check this option to launch processing on a page with context menu.</p>
  39. <p class="notice">It is recommended to <u>check</u> this option</p>
  40. </div>
  41. </div>
  42. <div class="option">
  43. <label for="displayBannerInput">display save banner <img class="question-mark" src="../resources/icon_question_mark.jpg"></label> <input type="checkbox" id="displayBannerInput">
  44. <div class="help">
  45. <p>Check this option to display a banner with a download link at the top of the page when processing is finished.</p>
  46. <p class="notice">It is recommended to <u>check</u> this option</p>
  47. </div>
  48. </div>
  49. <h4>Advanced options</h4>
  50. <div class="option">
  51. <label for="removeScriptsInput">remove scripts <img class="question-mark" src="../resources/icon_question_mark.jpg"></label> <input type="checkbox" id="removeScriptsInput">
  52. <div class="help">
  53. <p>Check this option if you do not want to save scripts.</p>
  54. <p class="notice">It is recommended to <u>check</u> this option</p>
  55. </div>
  56. </div>
  57. <div class="option">
  58. <label for="removeUnusedCSSRulesInput">remove unused CSS rules <img class="question-mark" src="../resources/icon_question_mark.jpg"></label> <input type="checkbox" id="removeUnusedCSSRulesInput">
  59. <div class="help">
  60. <p>Check this option to remove all CSS rules that do not match any element.</p>
  61. <p class="notice">It is recommended to <u>uncheck</u> this option</p>
  62. </div>
  63. </div>
  64. <div class="option">
  65. <label for="sendToPageArchiverInput">send saved page to PageArchiver <img class="question-mark" src="../resources/icon_question_mark.jpg"></label> <input type="checkbox" id="sendToPageArchiverInput">
  66. <div class="help">
  67. <p>Check this option to send the processed page to PageArchiver chrome extension.</p>
  68. <p class="notice">It is recommended to <u>uncheck</u> this option</p>
  69. </div>
  70. </div>
  71. <div class="option">
  72. <label for="getRawDocInput">process raw document <img class="question-mark" src="../resources/icon_question_mark.jpg"></label> <input type="checkbox" id="getRawDocInput">
  73. <div class="help">
  74. <p>Check this option to process the raw downloaded document instead of the displayed document. This option also helps to not alter the saved page when "remove scripts" is unchecked</p>
  75. <p class="notice">It is recommended to <u>uncheck</u> this option</p>
  76. </div>
  77. </div>
  78. <div class="option">
  79. <label for="processInBackgroundInput">process in background <img class="question-mark" src="../resources/icon_question_mark.jpg"></label> <input type="checkbox" id="processInBackgroundInput">
  80. <div class="help">
  81. <p>Check this option to process the page in background. Processing in background means it won't be blocking.</p>
  82. <p class="notice">It is recommended to <u>uncheck</u> this option</p>
  83. </div>
  84. </div>
  85. <div class="option">
  86. <label for="maxFrameSizeInput">max frame size <img class="question-mark" src="../resources/icon_question_mark.jpg"></label> <input type="number" id="maxFrameSizeInput" min="0">
  87. <div class="help">
  88. <p>Set the maximum size of frames in MB.</p>
  89. <p class="notice">It is recommended to set this option to <u>2</u></u></p>
  90. </div>
  91. </div>
  92. <div class="option">
  93. <a href="help.html" target="SingleSileHelpPage">help</a><button id="resetButton" title="Reset all the options to default (i.e. recommended) state">Reset to default options</button>
  94. </div>
  95. </div>
  96. </div>
  97. <script type="text/javascript" src="../scripts/bg/options.js"></script>
  98. </body>
  99. </html>