KissAnimeList

Integrates MyAnimeList into various sites, with auto episode tracking.

< Commentaires sur KissAnimeList

Avis: Bon - le script fonctionne correctement

§
Posté le: 2018-03-22
Édité le: 2018-03-22

Add all to MAL option

Is there anyway to add all of the bookmarks to MAL instead of clicking "Add to Mal" one by one? I would like this for Kissmanga in particular.

lolamtischAuteur
§
Posté le: 2018-03-22

There is no way. But I wrote an automation so you dont have to click yourself.

Make sure you scroll to the end of the page and that all entries have the "add to Mal" Then open the console (Press F12 and click on the console tab) and then copy this script into it. After pressing enter, it will slowly add every entry.

var timeo = 0;
for(var i=0; i < $('.MalData a').length; i++){
    var el = $('.MalData a')[i];
    clicker(el);
}
function clicker(el){
    setTimeout(function(){
        el.click();
        setTimeout(function(){
            $('.flashPerm button')[0].click();
        },4000);
    },timeo);
    timeo += 5000;
}```

PS: only tested on kissmanga
§
Posté le: 2018-03-22

Wow this is awesome! And worked perfectly, do you have a console command to change "Plan to Read" to "Reading"?

Also thanks for replying so quickly

lolamtischAuteur
§
Posté le: 2018-03-26
Édité le: 2018-03-26

Sorry for the late response. I forgot to check my mails. But here it is. Same procedure as above

var timeo = 0; 
for(var i=0; i < $('.MalData .malStatus').length; i++){
    var el = $('.MalData .malStatus')[i];
    if($(el).val() == 6) clicker(el); 
} 

function clicker(el){
    setTimeout(function(){
        $(el).val(1).trigger('change');
        var event = new Event('change');
        el.dispatchEvent(event);
    },timeo);     
timeo += 2000; 
}

Poster une réponse

Connectez-vous pour poster une réponse.