[可能失效]番茄全文在线免费读

Fanqien Novel Reading, No Need for a Client, Novels Available for Download

< Feedback on [可能失效]番茄全文在线免费读

Review: Good - script works

§
Posted: 2024-01-18

不错,希望添加快捷键翻页支持

const lastChapter = () => {
    const btn = document.querySelector('#app .chapter-btn.last');
    if (btn) {
        btn.click();
    }
}

const nextChapter = () => {
    const btn = document.querySelector('#app .chapter-btn.next');
    if (btn) {
        btn.click();
    }
}

document.addEventListener('keydown', (e) => {

  if (e.key === 'ArrowLeft') {
      lastChapter();
  }

  if (e.key === 'ArrowRight') {
        nextChapter();
    }

});

ibxffAuthor
§
Posted: 2024-01-26

谢谢,我这打算做一个自动翻页的,

就是阅读到底部一定距离后,自动加载下一章

§
Posted: 2024-01-30

谢谢,我这打算做一个自动翻页的,

就是阅读到底部一定距离后,自动加载下一章

大佬请一定要做啊,非常感谢,我很需要这个功能,非常感谢!!!!!!

ibxffAuthor
§
Posted: 2024-01-30

最近有点忙

你可以先用东方永页机代替一下

https://greasyfork.org/zh-CN/scripts/438684-pagetual

Post reply

Sign in to post a reply.