-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
+ better input error checking in the options + improved filename sanitizer
- Loading branch information
Showing
7 changed files
with
31 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,7 @@ | |
<script src="jquery-2.1.4.min.js"></script> | ||
</head> | ||
<body> | ||
<a href="https://github.com/Cortys" target="_blank" id="credits">v2.4.0 by <b>Cortys</b></a> | ||
<a href="https://github.com/Cortys" target="_blank" id="credits">v2.4.1 by <b>Cortys</b></a> | ||
<h1><img src="[email protected]" alt="Comic Backup Settings"></h1> | ||
<div id="content"> | ||
<h2>Backup behaviour</h2> | ||
|
@@ -51,7 +51,7 @@ <h2>Backup behaviour</h2> | |
<div class="aligner">Download Directory:</div><div class="aligner r"> | ||
<input placeholder="" type="text" id="directory"> | ||
</div><br> | ||
<p><i>Please note, because of limitations of the extensions API, this will be a subdirectory of the default downloads folder.</i></p> | ||
<p><i>Please note, because of limitations of the extensions API, this will be a subdirectory of the default downloads folder. Absolute paths are forbidden.</i></p> | ||
<div class="aligner">Favicon text color:</div><div class="aligner r"><select id="faviconColor"> | ||
<option value="0">Black (for light themes)</option> | ||
<option value="1">White (for dark themes)</option> | ||
|
@@ -64,9 +64,9 @@ <h2>Updates</h2> | |
<h2>I need help!</h2> | ||
<section><b>How is "Scan" different from the official backup options?</b> When you backup a comic with this extension, it takes high quality screenshots from the web reader. Those are quite good but do not match the quality of the official downloads. You should use "Scan" if you want to have smaller files or a comic is not officially available for download.</section> | ||
<section><b>The download never starts!</b> To use the extension make sure you disabled the <i>Prompt to continue</i> message in the settings of the web reader (click the gear to get there).</section> | ||
<section><b>My backups stop randomly and/or have blank pages!</b> Network latencies and UI event handling delays in the reader are quite unpredictable and can cause blank pages or even stop your backups. To circumvent that, you should increase the <u>page swap interval</u>. It determines the shortest allowed interval between two page swaps.</section> | ||
<section><b>My backups stop randomly and/or have blank pages!</b> Network latencies and UI event handling delays in the reader are quite unpredictable and can cause blank pages or even stop your backups. To circumvent that, you should increase the <u>page swap interval</u>. It determines the shortest allowed interval between two page swaps. <i>Default: 600 ms</i></section> | ||
<div class="aligner">Min. page swap interval:</div><div class="aligner r"><input value="600" type="text" id="pageSwapDelay"> ms</div> | ||
<section><b>Some pages are missing in my backups!</b> You might want to fiddle with the <u>page skip delay</u>. It determines how long to wait for a reaction to a page swap. If the reader did not show any reaction to a page swap for the given time, the backup will just continue with the next page. This option is essential for manga fixed format comics, that have to be backed up in dual-page-mode and thus do not rerender every second page.</section> | ||
<section><b>Some pages are missing in my backups!</b> You might want to fiddle with the <u>page skip delay</u>. It determines how long to wait for a reaction to a page swap. If the reader did not show any reaction to a page swap for the given time, the backup will just continue with the next page. This option is essential for manga fixed format comics, that have to be backed up in dual-page-mode and thus do not rerender every second page. <i>Default: 1200 ms</i></section> | ||
<div class="aligner">Page skip delay:</div><div class="aligner r"><input value="1200" type="text" id="pageSkipDelay"> ms</div><br> | ||
<section><b>It still does not work!</b> Sometimes the code of the online reader is changed. If that happens you can force a new exploit scan and the plugin will try to detect a new way to backup your comics. In order to do that you will be asked to perform some actions the next time you open a comic.</section> | ||
<div class="aligner">Force new exploit scan:</div><div class="aligner r"><select id="selectors" data-message="reload_page"> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
122 | ||
123 |