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

< Обсуждения Manga Loader (unmaintained)

Отзыв: Хороший — скрипт работает как нужно

[Fix] Madokami

I noticed that the Madokami loader doesn't work. I wrote some code to fix it.

The new pages function for Madokami:

pages: function(url, num, cb, ex) {
var i;
for(i=0; i

Unfortunately, the EncodeURI for Madokami is a little strict. To fix that, add into reuse:
encodeMadokami: function(string) {
string = string.replace(/\s/g, "+");
encodeURI(string);
string = string.replace(/\[/g, "%5B");
string = string.replace(/\]/g, "%5D");
string = string.replace(/#/g, "%23");
return string;
}

and the pages function for Madokami becomes:

pages: function(url, num, cb, ex) {
console.log(url);
var str;
var i;
for(i=0; i

Ответить

Войдите, чтобы ответить.