Old: v1.6.12 - 2015-05-31 - fixed hentai rules to support all number galleries
New: v1.6.13 - 2015-06-09 - added ero sub-domain of senmanga
- @@ -1,7 +1,7 @@
- // ==UserScript==
- // @name Manga Loader
- // @namespace http://www.fuzetsu.com/MangaLoader
-// @version 1.6.12
- +// @version 1.6.13
- // @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
- @@ -28,7 +28,7 @@
- // @match http://www.mangatown.com/manga/*/*
- // @match http://manga-joy.com/*/*
- // @match http://*.dm5.com/m*
-// @match http://raw.senmanga.com/*/*/*
- +// @match http://*.senmanga.com/*/*/*
- // @match http://www.japscan.com/lecture-en-ligne/*
- // @match http://www.pecintakomik.com/manga/*/*
- // @match http://dynasty-scans.com/chapters/*
- @@ -699,6 +699,20 @@
- curpage: function() {
- return this.numpages(true);
- }
- +}, {
- + name: 'ero-senmanga',
- + match: "^http://ero\\.senmanga\\.com/[^/]*/[^/]*/[0-9]*",
- + img: '#picture',
- + next: '#omv > table > tbody > tr:nth-child(2) > td > a',
- + numpages: 'select[name=page]',
- + curpage: 'select[name=page]',
- + nextchap: function(prev) {
- + var next = extractInfo('select[name=chapter]', {type: 'value', val: (prev ? -1 : 1)});
- + if(next) return window.location.href.replace(/\/[^\/]*\/[0-9]+\/?$/, '') + '/' + next + '/1';
- + },
- + prevchap: function() {
- + return this.nextchap(true);
- + }
- }];
-
- var log = function(msg, type) {