Manga Loader (unmaintained)

Support for over 70 sites! Loads manga chapter into one page in a long strip format, supports switching chapters, minimal script with no dependencies, easy to implement new sites, loads quickly and works on mobile devices through bookmarklet

Old: v1.5.4 - 2015-02-01 - improved chapter detection for mangahere; the 'wait' part of a site implementation can now be a function, the script will wait for that function to return true before trying to load the manga on that page, this applies when autoloading and is useful to make sure required variables are defined before launch
New: v1.5.5 - 2015-02-03 - added support for www.dmzj.com; added chapter support for manhua.dmzj.com

  • --- /tmp/diffy20240601-1021951-kssuvw 2024-06-01 23:17:51.294673118 +0000
  • +++ /tmp/diffy20240601-1021951-x0865o 2024-06-01 23:17:51.294673118 +0000
  • @@ -1,7 +1,7 @@
  • // ==UserScript==
  • // @name Manga Loader
  • // @namespace http://www.fuzetsu.com/MangaLoader
  • -// @version 1.5.4
  • +// @version 1.5.5
  • // @description Loads manga chapter into one page in a long strip format, supports switching chapters and works for a variety of sites, minimal script with no dependencies, easy to implement new sites
  • // @copyright 2014+, fuzetsu
  • // @noframes
  • @@ -42,6 +42,7 @@
  • // @match http://manhua.dmzj.com/*/*
  • // @match http://www.8muses.com/picture/*/category/*
  • // @match http://hqbr.com.br/hqs/*/capitulo/*/leitor/0
  • +// @match http://www.dmzj.com/view/*/*
  • // ==/UserScript==
  • // don't bother running if in a frame
  • if (window.top !== window.self) return;
  • @@ -434,7 +435,7 @@
  • cb(url, url);
  • }
  • }, { // manhua.dmzj.com
  • - match: "http://manhua.dmzj.com/[^/]*/[0-9]+(-[0-9]+)?.shtml",
  • + match: "http://manhua.dmzj.com/[^/]*/[0-9]+(-[0-9]+)?\.shtml",
  • img: '.pic_link',
  • next: '.pic_link',
  • numpages: function() {
  • @@ -443,6 +444,8 @@
  • curpage: function() {
  • return W.COMIC_PAGE.getPageNumber();
  • },
  • + nextchap: '#next_chapter',
  • + prevchap: '#prev_chapter',
  • pages: function(url, num, cb, ex) {
  • cb(W.img_prefix + W.arr_pages[num - 1], num);
  • }
  • @@ -472,6 +475,20 @@
  • pages: function(url, num, cb, ex) {
  • cb(W.pages[num - 1], num);
  • }
  • +}, { // www.dmzj.com
  • + match: "http://www.dmzj.com/view/[^/]+/.+\.html",
  • + img: '#pic',
  • + next: '#pic',
  • + numpages: '.select_jump',
  • + curpage: '.select_jump',
  • + nextchap: 'body > div:nth-child(6) > span.next > a',
  • + prevchap: 'body > div:nth-child(6) > span.pre > a',
  • + pages: function(url, num, cb, ex) {
  • + cb('http://images.dmzj.com/' + W.pic[num - 1], num);
  • + },
  • + wait: function() {
  • + return getEl(this.nextchap);
  • + }
  • }];
  • var log = function(msg, type) {