Manga OnlineViewer Fluid Mode +

Shows all pages at once. Single/Multi page spread.Example sites: All FoOl(Slide/Reader), MangaFox, MangaReader/MangaPanda, MangaStream, MangaInn, AnyManga, AnimeA, MangaHere, MangaShare, Batoto, MangaDevil, MangaCow, MangaChapter, 7manga, MangaPirate.net, Madokami , SpinyBack, MyManga , KawaiiScans, EGScans, All SenManga,LoneManga ,ReadManga,MangaTraders,MangaCat,KissManga, MangaJoy,MangaBee/OneManga.me, KukuDM, Japscan, Pecintakomik, Sh-Arab, some Portuguese sites. Dl addon for 18+ sites.

< Feedback on Manga OnlineViewer Fluid Mode +

Question/comment

§
Posted: 24/10/2015

MangaFox onerror fix

Mangafox changed it's CDNs and they have onerror patch on each image here is fix:

{
...
            //img: "img#image",
            page: function (i, addImg, addAltImg) {
                var self = this;
                $.ajax({
                    type: 'GET',
                    url: self.url(i),
                    dataType: 'text',
                    async: false,
                    success: function (html) {
                        function getStr(str, from, to) {
                            return str.substring(str.indexOf(from) + from.length, str.indexOf(to) + to.length);
                        }
                        var image = $(html).find('img'),
                            src = image[0].src,
                            altImg = image[0].onerror.toString(),
                            altSrc = getStr(altImg, '.src=\'', '.jpg');
                        addAltImg(i, src);
                        addImg(i, altSrc);
                    }
                });
            }
...
sneezemonkeyAuthor
§
Posted: 25/10/2015

Ty. I'll copypasta this. (Also Fok Yu Mangafox. For a lot of things)

Post reply

Sign in to post a reply.