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

番茄小说免费网页阅读 不用客户端 可下载小说

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

Review: Good - script works

§
Posted: 18/01/2024

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

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: 26/01/2024

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

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

§
Posted: 30/01/2024

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

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

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

ibxffAuthor
§
Posted: 30/01/2024

最近有点忙

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

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

Post reply

Sign in to post a reply.