Movatterモバイル変換


[0]ホーム

URL:


Skip to content
Search Gists
Sign in Sign up

Instantly share code, notes, and snippets.

@flyfire
Forked fromyushiro/kindleDown.js
CreatedJune 6, 2022 07:47
    • Star(0)You must be signed in to star a gist
    • Fork(0)You must be signed in to fork a gist
    Save flyfire/3532a4e227bae23b29d84d45f6ed429c to your computer and use it in GitHub Desktop.
    批量从亚马逊中国区下载kindle上购买的电子书
    varcurIndex=-1;
    functioncallbackDown(){
    if(curIndex>=0)$('input.hideItem_myx')[curIndex].click();
    curIndex++;
    $('input.hideItem_myx')[curIndex].click();
    $('ul button.myx-button-text')[curIndex].click();
    //触发下载popup
    setTimeout(function(){$('.myx-popover-inner .transcludedContent_myx .contentDetails_myx #contentAction_download_myx').trigger('click');},1000);
    setTimeout(function(){$('.dialog_myx .myx-button-primary').trigger('click');},2000);
    if(curIndex<$('input.hideItem_myx').length)setTimeout(callbackDown,3000);
    }
    callbackDown();
    Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

    [8]ページ先頭

    ©2009-2025 Movatter.jp