AutoPager

Append the next page content to the bottom seamlessly (like a waterfall, Unlimited scrolling, no need to manually click on the next page)~

< Feedback on AutoPager

Review: Good - script works

§
Posted: 2022-04-15

https://elib.cc/ 支持一下谢谢大佬

X.I.UAuthor
§
Posted: 2022-04-16
Edited: 2022-04-16

尝试了下,但是遇到了个很蛋疼的问题,那就是加载下一页时,会被网页强行滚动到网页顶部,非常影响使用体验,但我研究了半天也没找到解决方法

    "elib.cc": {
        "host": "elib.cc",
        "url": "fun.isUrlC(); return (fun.lp() == '/search')",
        "blank": 2,
        "pager": {
            "type": 6,
            "nextL": "js; return fun.getNextUP('p=', /p=\\d+/, location.pathname, '2', fun.getCSS('div.container:nth-of-type(2) span').textContent.split('总共')[1].replace('页',''))",
            "pageE": "div.container:not(:first-of-type)>.columns",
            "replaceE": "div.container:nth-of-type(2)",
            "loadTime": 500,
            "scrollD": 700
        },
        "function": {
            "bF": "return fun.src_bF(pageE)"
        }
    }

Post reply

Sign in to post a reply.