OneMangaHelper Mod

By Freddy801 Last update Apr 27, 2009 — Installed 1,031 times. Daily Installs: 1, 1, 3, 2, 3, 3, 0, 0, 1, 2, 2, 1, 2, 3, 2, 3, 1, 5, 1, 1, 4, 3, 1, 3, 1, 0, 1, 1, 2, 0, 1, 1
Script Summary:
OneMangaHelper Mod (All-in-1) by Freddy801
Version: 1.5.2
Recently Updated TopicsPosts
A version for Manga Toshokan1

this script has 1 topic, 1 post

This script has no reviews.

Copyright:

This is my mod of original script by samliew: http://www.userscripts.org/scripts/show/27618

What 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!

ToDo list:

  • [X] Clean up code
Anything else please suggest.

Changelog (Version History):

  • 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...

  • 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.2 (2009-01-06) - Minor fix
    • Added homepage and author field in script's header.

  • 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.1 (2009-03-18) - New major fixes
    • Fixed includes and excludes.
    • Started using jQuery.
    • Swithed to removing unecessary 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 debuging via function console.log().
    • Rearranged and cleaned code.

  • 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 debuging 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.

Screenshots of individual features:

  • Document title cleaner & Favicon replacement
     
  • More screenshots coming soon...