Script Summary: OneMangaHelper Mod (All-in-1) by Freddy801
Version: 2.0.20100423
Copyright:
This is my mod of original script by samliew: http://www.userscripts.org/scripts/show/27618What this script does:
This script removes almost everything from the comics view page, and puts direct links to the page images so you can use an external plugin like FlashGot or DownThemAll to download all the images in the chapter. An option is also included to display all remaining images in order for easier reading.Also, there're quite a number of modifications, you can see what those are bellow in changelog (version history).
If you like the script, please give your feedback or comments on features that you wish to see in the future!
Changelog (Version History):
- 2.0.20100423 (2010-04-23) - New major update
- NEW! Implemented image zooming using TJPzoom.
- NEW! Added one button in the lower right corner to turn off image zooming, and another for displaying usage information on image zooming with TJZoom:
When you load all images in a chapter, image zooming is turned off by default, so if you want to enable image zooming, just click on any image contained in a chapter. That will enable image zooming, with a default zoom ratio of 1.0, as to accommodate all user preferences.
If you move your mouse over the picture, you can see a little zoom window with a magnified version of a part of the picture in it. If you click and:- DRAG your mouse UPWARDS, the zoom ratio increases,
- DRAG your mouse DOWNWARDS, the zoom ratio decreases,
- DRAG your mouse TO THE RIGHT, the zoom window increases,
- DRAG your mouse TO THE LEFT, the zoom window decreases.
As far as I know, TJPzoom is compatible with all the major browsers:
Internet Explorer 6+, Firefox 2+, Opera 8.5+, Safari 2+, Konqueror 3.5+ - Implemented code debugging via Firebug functions console.group(), console.info() and console.debug() for more convenient error reporting.
- Background color is no longer forced white, but inherited from page.
- Rearranged and cleaned code for easier debugging.
- 1.5.2 (2009-04-27) - Major updates
- Rearranged and cleaned CSS styles.
- Disabled default keyboard shortcuts (left/right buttons) and added my preferred shortuts:
- CTRL + Left arrow = Previous page
- CTRL + Right arrow = Next Page
- SPACEBAR = Press "GO!" button if active; else scroll down
- B = Back (Previous Chapter)
- N = Next (Next Chapter)
- Removed code debugging via function console.log().
- Added new dynamically generated favicons reflecting exact number of remaining unread chapters (up to 999)... Inspired by "Gmail FavIcon Alerts 3" at http://userscripts.org/scripts/show/24430
- Rearranged and cleaned code.
- 1.1 (2009-03-18) - New major fixes
- Fixed includes and excludes.
- Started using jQuery.
- Switched to removing unnecessary elements (such as ads, scripts, etc...) from the DOM (as opposed to just hiding them).
- Removed unnecessary functions.
- Code optimized for use with jQuery (looks cooler).
- Implemented code debugging via function console.log().
- Rearranged and cleaned code.
- 1.0.3 (2009-02-24) - Minor fixes
- Minor CSS tweaks.
- Slightly modified #page-dropdown.
- Fixes for ScrollToEl() function for correct scrolling.
- If you're viewing last page of latest chapter, "GO!" button will be disabled.
- 1.0.2 (2009-01-06) - Minor fix
- Added homepage and author field in script's header.
- 1.0.1 (2009-01-06) - Minor fix
- Modified that single left-click on the thumbnail in "Loading progress bar" will scroll to just
"previewed" image
(as opposed in previous version's double-clicking). - 1.0.0 (2009-01-06) - Initial release on userscripts.org
- Added modifications to the original script are:
- Code cleaned up and rewritten (keep reading for more info);
- Document title cleaner (document title will contain nothing but manga name, chapter and page);
- Custom CSS styling and element hiding (as opposed to original script's inline styling and javascript functions for hiding elements);
- Visited links will have line-through for easy differentiation (especially useful on "Recent Updates" page),
- Banner, ads, and some elements will be removed,
- While reading manga chapter, element #page-dropdown ("manga selector") will be replaced by:
Manga: %LinkToManga% chapter %CurrentChapter% of %LastChapter%, - Also, element #page-dropdown will be styled to be positioned fixed on top-right corner, and will be visible on mouse over,
- When either viewing last page of manga's last chapter (or viewing last chapter in "Show All" mode) image(s) will have red dotted border, in order to visually distinguish last viewing page (or chapter);
- Favicon replacement depending on how many chapters to go:
- if you're viewing the last chapter, favicon will have green bottom-right corner,
- if you have less than 10 more chapters to read, favicon will have yellow bottom-right corner,
- and, otherwise, if you have a lot more to read, favicon will have red bottom-right corner;
- Now, "Previous/Next Chapter" buttons will be disabled if there's no actual previous or next chapter;
- Also, "GO!" button (which triggers so-called "Show All" mode) will only list remaining pages
- for example: if you've opened URL like %MangaName%/%CurrentChapter%/02/, "Show All" mode will list image from the current page and then list all remaining images from that chapter);
- What I like to call "Loading progress bar" is like a 16x16 pixels thumbnail strip:
- Each thumbnail corresponds to one picture in "Show All" mode, which enables the user to see loading of pictures in real-time.
- Also, "Loading progress bar" is styled to be positioned fixed in bottom-left corner, and it's visibility can be toggled.
- Toggling was incorporated because document scrolling while "Loading progress bar" is visible was rendered rather unusable, because "Loading progress bar" usually contains many images.
- By moving your mouse away from "Loading progress bar", it will be rendered invisible.
- Finally, by bringing your mouse over each thumbnail you can "preview" the image (max 400px in width and height), and double-clicking on thumbnail you can scroll to image you just "previewed".
- and some more minor tweaks...
Screenshots of individual features:
-
Document title cleaner & Favicon replacement

- More screenshots coming soon...



