Răsfoiți Sursa

updated help

Gildas lormeau 14 ani în urmă
părinte
comite
f938ddd78b

+ 1 - 1
WebContent/ui/pages/help.css

@@ -71,7 +71,7 @@ ol>li>ul>li {
 	background-image: url(../resources/options_screen.png);
 	background-repeat: no-repeat;
 	background-position: center center;
-	height: 591px;
+	height: 500px;
 }
 
 #title {

+ 11 - 60
WebContent/ui/pages/help.html

@@ -18,8 +18,8 @@ folder</a> - <a href="#notes">Technical notes</a> - <a href="#knownIssues">Known
 	<li><a id="instructions">Instructions</a>
 	<ul>
 		<li>wait until the page is fully loaded : you may need to scroll down the entire page and hover dynamic document elements (e.g. "rollover" images) to be sure all elements
-		are displayed</li>
-		<li>click on the SingleFile icon <img src="../resources/icon_19.png" id="icon"> in the Chrome toolbar or press Ctrl-Shift-S shortcut or use context menu to launch page
+		are loaded</li>
+		<li>click on the SingleFile icon <img src="../resources/icon_19.png" id="icon"> in the Chrome toolbar or press Ctrl-Shift-S or use context menu to launch page
 		processing</li>
 		<li>wait until the shadow disappears then hit Ctrl-S or select "Save as" in the wrench menu and save the page</li>
 		<li>all images, style sheets and frame contents are embedded into the ".htm" saved file</li>
@@ -46,13 +46,13 @@ folder</a> - <a href="#notes">Technical notes</a> - <a href="#knownIssues">Known
 		</li>
 
 		<li><span class="option">remove objects</span>
-		<p>Check this option to remove all non embeddable elements : flash objects, java applets ...</p>
+		<p>Check this option to remove all non embeddable elements : flash objects, java applets ... Permission restrictions prevent them to be executed when they are embedded in the document.</p>
 		<p class="notice">It is recommended to <u>check</u> this option</p>
 		</li>
 
 		<li><span class="option">remove scripts</span>
 		<p>Check this option if you do not want to save scripts. Most of the time, you do not need scripts in the saved page. Thus they can alter it. Nevertheless if you want to save
-		page dynamic behavior then uncheck this option. If you uncheck this option then it is strongly recommended to check <span class="option">process raw document</span> option.</p>
+		page dynamic behavior then uncheck this option. If you uncheck this option then you should also check <span class="option">process raw document</span> option to keep page integrity.</p>
 		<p class="notice">It is recommended to <u>check</u> this option</p>
 		</li>
 
@@ -67,75 +67,34 @@ folder</a> - <a href="#notes">Technical notes</a> - <a href="#knownIssues">Known
 		this option, it may also introduce some incompatibilities issues in the saved page when opening it into another browser (i.e. not based on Webkit).</p>
 		<p class="notice">It is recommended to <u>uncheck</u> this option</p>
 		</li>
-
-		<li><span class="option">scrapbook the page</span>
-		<p>Check this option to send the processed page to <a href="https://chrome.google.com/webstore/detail/ihkkeoeinpbomhnpkmmkpggkaefincbn">Scrapbook for SingleFile</a>.</p>
-		<p class="notice">It is recommended to <u>uncheck</u> this option</p>
-		</li>
-		
 		
 		<li><span class="option">display a context menu entry</span>
-		<p>Check this option to launch processing on a page with context menu.</p>
+		<p>Check this option to launch processing on a page with context menu. This option also helps to process only the selected area in the page.</p>
 		<p class="notice">It is recommended to <u>check</u> this option</p>
 		</li>
 
-		<li><span class="option">process in background</span>
-		<p>Check this option to process the page in background. Processing in background means it won't be blocking (only if <span class="option">display processed page</span> option
-		is unchecked). If you uncheck this option, a shadow will prevent you to navigate into the page during the SingleFile processing but it will be faster.</p>
+		<li><span class="option">send archive to PageArchiver</span>
+		<p>Check this option to send the processed page to <a href="https://chrome.google.com/webstore/detail/ihkkeoeinpbomhnpkmmkpggkaefincbn">PageArchiver</a> chrome extension.</p>
 		<p class="notice">It is recommended to <u>uncheck</u> this option</p>
 		</li>
 
-		<li><span class="option">save processed page (*)</span>
-		<p>Check this option to save the processed page on filesystem. See <a href="#folder">Saved archives folder</a> for more details about saving folder location. If you check
-		this option and you do not want to use "Save as" dialog box to save the page then you should uncheck <span class="option">display processed page</span> option.</p>
+		<li><span class="option">process in background</span>
+		<p>Check this option to process the page in background. Processing in background is usually faster but can alter the page.</p>
 		<p class="notice">It is recommended to <u>uncheck</u> this option</p>
 		</li>
 
-		<li><span class="option">display processed page (*)</span>
-		<p>Check this option to display the processed page in the tab. This option must be checked if you want to use Chrome "Save as" dialog box to save the page. If you uncheck
-		this option then you should check <span class="option">process in background</span> so the processing won't be blocking: you will just have to wait that "..." label in action
-		icon disappears. Conversely, you should uncheck <span class="option">process in background</span> when this option is checked so the processing will be faster.</p>
-		<p class="notice">It is recommended to <u>check</u> this option</p>
-		</li>
-
-		<li><span class="option">max filename length (*)</span>
-		<p>Set the value of maximum filename length. This value is used when <span class="option">save processed page</span> option is checked. SingleFile cannot guess the maximum
-		filename length allowed by the Operating System so you have to configure it manually.</p>
-		<p class="notice">It is recommended to set this option to <u>90</u> (if you are using Windows)</p>
-		</li>
-
 		<li><span class="option">process raw document</span>
 		<p>Check this option to process the raw downloaded document instead of the displayed document. The main difference is that scripts won't be parsed and executed. Frames won't
-		be embedded too. This option also helps to not alter the saved page when <span class="option">remove scripts</span> is unchecked</p>
+		be embedded too. This option should be checked when <span class="option">remove scripts</span> is unchecked.</p>
 		<p class="notice">It is recommended to <u>uncheck</u> this option</p>
 		</li>
 
 		<li><span class="option">Reset to default options</span>
-		<p>Reset all the options to default (i.e. recommended) state</p>
+		<p>Reset all the options to default (i.e. recommended) state.</p>
 		</li>
 	</ul>
 	</li>
 
-	<li><a id="folder">Saved archives folder (*)</a>
-	<p>When <span class="option">save processed page</span> option is checked, pages are automatically saved on filesystem. However, Chrome will not allow to choose the root
-	folder where archives are stored. Neither it will allow SingleFile to make links pointing to saved files folder. So you have to find "manually" this folder.</p>
-	<p>Files are saved in the extension subfolder of "FileSystem" folder located into Chrome user data folder:</p>
-	<ul style="text-align: left">
-		<li>Windows default path: <br>
-		<span class="option">%LOCALAPPDATA%\Google\Chrome\User&nbsp;Data\Default\FileSystem\chrome-extension_jemlklgaibiijojffihnhieihhagocma_0\Persistent\</span></li>
-		<li>Linux default path: <br>
-		<span class="option">~/.config/google-chrome/Default/FileSystem/chrome-extension_jemlklgaibiijojffihnhieihhagocma_0/Persistent/</span></li>
-		<li>Mac OS X default path: <br>
-		<span class="option">~/Library/Application&nbsp;Support/Google/Chrome/Default/FileSystem/chrome-extension_jemlklgaibiijojffihnhieihhagocma_0/Persistent/</span></li>
-	</ul>
-	<p>You can create shortcuts to access to this folder easily.
-	<p>
-	<p>You can also create symbolic links in order to use sync services like dropbox. Here are the way of doing it on <a
-		href="http://technet.microsoft.com/en-us/library/cc753194(WS.10).aspx">windows (mklink /d)</a> and <a href="http://www.unixtutorial.org/commands/ln/">linux or Mac OS X (ln
-	-s)</a>.</p>
-	<p>You can also change Chrome user data folder with <a href="http://www.chromium.org/user-experience/user-data-directory">--user-data-dir switch</a>.
-	</li>
-
 	<li><a id="notes">Technical notes</a>
 	<ul>
 		<li>all images are converted into <a href="http://en.wikipedia.org/wiki/Base64">base64</a></li>
@@ -153,11 +112,7 @@ folder</a> - <a href="#notes">Technical notes</a> - <a href="#knownIssues">Known
 		<li>If you are using <a href="https://chrome.google.com/extensions/detail/odjhifogjcknibkahlpidmdajjpkkcfn">NotScripts</a> extension and have issues when using SingleFile
 		then you must add this line in "CHANGE__PASSWORD__HERE.js" file as described <a href="http://optimalcycling.com/other-projects/notscripts/faq/#mitigation">here</a>:<br>
 		<code>const DO_NOT_MITIGATE_INLINE_SCRIPTS = true;</code></li>
-		<li>If <span class="option">process in background</span> is unchecked and <span class="option">display processed page</span> is checked then the page may sometimes be
-		altered after being processed (i.e. some elements are not correctly placed). This issue won't affect the saved page.</li>
 		<li><code>file:///*</code>, <code>chrome://*</code> and <code>https://chrome.google.com/*</code> URIs cannot be processed</li>
-		<li>Some pages make the tab crash when processing (e.g. gmail), however if <span class="option">save processed page</span> is checked then you will be able to open the saved
-		page in another browser</li>
 	</ul>
 	</li>
 
@@ -172,9 +127,5 @@ folder</a> - <a href="#notes">Technical notes</a> - <a href="#knownIssues">Known
 	</ul>
 	</li>
 </ol>
-<br>
-<p class="availability">*: feature only available on Chrome 9+</p>
-<a href="http://www.w3.org/html/logo/"> <img src="../resources/html5-badge-h-storage.png" alt="HTML5 offline & storage logo" id="logo-html5"
-	title="This extension is powered by HTML5 Offline & Storage"> </a></div>
 </body>
 </html>

+ 2 - 2
WebContent/ui/pages/options.html

@@ -55,9 +55,9 @@
 	</div>
 	<h4>Advanced options:</h4>
 	<div class="option">
-		<label for="getContentInput">scrapbook the page <img class="question-mark" src="../resources/icon_question_mark.jpg"></label> <input type="checkbox" id="getContentInput">
+		<label for="getContentInput">send archive to PageArchiver <img class="question-mark" src="../resources/icon_question_mark.jpg"></label> <input type="checkbox" id="getContentInput">
 		<div class="help">
-			<p>Check this option to send the processed page to Scrapbook for SingleFile.</p>
+			<p>Check this option to send the processed page to PageArchiver chrome extension.</p>
 			<p class="notice">It is recommended to <u>uncheck</u> this option</p>
 		</div>
 	</div>

BIN
WebContent/ui/resources/html5-badge-h-storage.png


BIN
WebContent/ui/resources/options_screen.png