options.html 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  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. <script type="text/javascript" src="../scripts/bg/options.js"></script>
  8. </head>
  9. <body>
  10. <div>
  11. <h2><img alt="SingleFile icon" id="icon" src="../resources/icon_48.png"/>SingleFile</h2>
  12. <hr>
  13. <div id="popupContent">
  14. <h4>Basic options:</h4>
  15. <div class="option">
  16. <label for="removeFramesInput">remove frames <img class="question-mark" src="../resources/icon_question_mark.jpg"></label> <input type="checkbox" id="removeFramesInput">
  17. <div class="help">
  18. <p>Check this option to remove all frames on the page.</p>
  19. <p class="notice">It is recommended to <u>uncheck</u> this option</p>
  20. </div>
  21. </div>
  22. <div class="option">
  23. <label for="removeObjectsInput">remove objects <img class="question-mark" src="../resources/icon_question_mark.jpg"></label> <input type="checkbox" id="removeObjectsInput">
  24. <div class="help">
  25. <p>Check this option to remove all non embeddable elements : flash objects, java applets ...</p>
  26. <p class="notice">It is recommended to <u>check</u> this option</p>
  27. </div>
  28. </div>
  29. <div class="option">
  30. <label for="removeScriptsInput">remove scripts <img class="question-mark" src="../resources/icon_question_mark.jpg"></label> <input type="checkbox" id="removeScriptsInput">
  31. <div class="help">
  32. <p>Check this option if you do not want to save scripts.</p>
  33. <p class="notice">It is recommended to <u>check</u> this option</p>
  34. </div>
  35. </div>
  36. <div class="option">
  37. <label for="removeHiddenInput">remove hidden elements <img class="question-mark" src="../resources/icon_question_mark.jpg"></label> <input type="checkbox" id="removeHiddenInput">
  38. <div class="help">
  39. <p>Check this option to remove all hidden elements.</p>
  40. <p class="notice">It is recommended to <u>uncheck</u> this option</p>
  41. </div>
  42. </div>
  43. <div class="option">
  44. <label for="removeUnusedCSSRulesInput">remove unused CSS rules <img class="question-mark" src="../resources/icon_question_mark.jpg"></label> <input type="checkbox" id="removeUnusedCSSRulesInput">
  45. <div class="help">
  46. <p>Check this option to remove all CSS rules that do not match any element.</p>
  47. <p class="notice">It is recommended to <u>uncheck</u> this option</p>
  48. </div>
  49. </div>
  50. <div class="option">
  51. <label for="getContentInput">scrapbook the page <img class="question-mark" src="../resources/icon_question_mark.jpg"></label> <input type="checkbox" id="getContentInput">
  52. <div class="help">
  53. <p>Check this option to send the processed page to Scrapbook for SingleFile.</p>
  54. <p class="notice">It is recommended to <u>uncheck</u> this option</p>
  55. </div>
  56. </div>
  57. <div class="option">
  58. <label for="displayInContextMenuInput">display a context menu entry <img class="question-mark" src="../resources/icon_question_mark.jpg"></label> <input type="checkbox" id="displayInContextMenuInput">
  59. <div class="help">
  60. <p>Check this option to launch processing on a page with context menu.</p>
  61. <p class="notice">It is recommended to <u>check</u> this option</p>
  62. </div>
  63. </div>
  64. <h4>Advanced options:</h4>
  65. <div class="option">
  66. <label for="processInBackgroundInput">process in background <img class="question-mark" src="../resources/icon_question_mark.jpg"></label> <input type="checkbox" id="processInBackgroundInput">
  67. <div class="help">
  68. <p>Check this option to process the page in background. Processing in background means it won't be blocking.</p>
  69. <p class="notice">It is recommended to <u>uncheck</u> this option</p>
  70. </div>
  71. </div>
  72. <div id="storageOptions">
  73. <div class="option">
  74. <label for="savePageInput">save processed page <img class="question-mark" src="../resources/icon_question_mark.jpg"></label> <input type="checkbox" id="savePageInput">
  75. <div class="help">
  76. <p>Check this option to save the processed page on filesystem.</p>
  77. <p class="notice">It is recommended to <u>uncheck</u> this option</p>
  78. </div>
  79. </div>
  80. <div class="option">
  81. <label for="displayProcessedPageInput">display processed page <img class="question-mark" src="../resources/icon_question_mark.jpg"></label> <input type="checkbox" id="displayProcessedPageInput">
  82. <div class="help">
  83. <p>Check this option to display the processed page in the tab.</p>
  84. <p class="notice">It is recommended to <u>check</u> this option</p>
  85. </div>
  86. </div>
  87. <div class="option">
  88. <label for="filenameMaxLengthInput">max filename length <img class="question-mark" src="../resources/icon_question_mark.jpg"></label> <input type="text" id="filenameMaxLengthInput">
  89. <div class="help">
  90. <p>Set the value of maximum filename length. This value is used when "save processed page" option is checked.</p>
  91. <p class="notice">It is recommended to set this option to <u>90</u> (if you are using Windows)</p>
  92. </div>
  93. </div>
  94. </div>
  95. <div class="option">
  96. <label for="getRawDocInput">process raw document <img class="question-mark" src="../resources/icon_question_mark.jpg"></label> <input type="checkbox" id="getRawDocInput">
  97. <div class="help">
  98. <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>
  99. <p class="notice">It is recommended to <u>uncheck</u> this option</p>
  100. </div>
  101. </div>
  102. <div class="option">
  103. <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>
  104. </div>
  105. </div>
  106. </div>
  107. </body>
  108. </html>