Veche: v1.6.23 - 30-06-2015 - added foolslide implementation and matched 3 sites that use it (redhawkscans, s2smanga, casanovascans)
Nouă: v1.6.24 - 07-07-2015 - fixed readmanga today loading on first page (previous button was not present to it interfered with the css selector); added hentaifr.net
- @@ -1,7 +1,7 @@
- // ==UserScript==
- // @name Manga Loader
- // @namespace http://www.fuzetsu.com/MangaLoader
-// @version 1.6.23
- +// @version 1.6.24
- // @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, loads quickly and works on mobile devices through bookmarklet
- // @copyright 2014+, fuzetsu
- // @noframes
- @@ -55,6 +55,7 @@
- // @match http://manga.redhawkscans.com/reader/read/*
- // @match http://reader.s2smanga.com/read/*
- // @match http://casanovascans.com/read/*
- +// @match http://hentaifr.net/*
- // ==/UserScript==
-
- // should be set to true externally if auto loading is wanted (e.g. bookmarklet)
- @@ -665,7 +666,7 @@
- name: 'readmanga.today',
- match: "http://www\\.readmanga\\.today/[^/]+/.+",
- img: '.page_chapter img',
- next: '.list-switcher-2 > li:nth-child(3) > a',
- + next: '.list-switcher-2 > li:nth-child(3) > a, .list-switcher-2 > li:nth-child(2) > a',
- numpages: '.list-switcher-2 select[name=category_type]',
- curpage: '.list-switcher-2 select[name=category_type]',
- nextchap: '.jump-menu[name=chapter_list]',
- @@ -700,6 +701,14 @@
- wait: function() {
- return W.pages;
- }
- +}, {
- + name: 'hentaifr',
- + match: "^http://hentaifr\\.net/.+\\.php\\?id=[0-9]+",
- + img: 'center > table:nth-child(11) > tbody > tr > td > a > img',
- + next: 'center > table:nth-child(11) > tbody > tr > td > a',
- + wait: function() {
- + return getEl(this.img) && getEl(this.next);
- + }
- }];
-
- var log = function(msg, type) {