Greasy Fork is available in English.

KissAnimeList

Integrates MyAnimeList into various sites, with auto episode tracking.

< Rückmeldungen aufKissAnimeList

Rezension: Gut - Skript funktioniert

§
Veröffentlicht: 22.03.2018
Bearbeitet: 22.03.2018

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.

lolamtischVerfasser
§
Veröffentlicht: 22.03.2018

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
§
Veröffentlicht: 22.03.2018

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

lolamtischVerfasser
§
Veröffentlicht: 26.03.2018
Bearbeitet: 26.03.2018

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; 
}

Antwort schreiben

Anmelden um eine Antwort zu senden.