AutoPager

⭐Append the next page content to the bottom seamlessly (like a waterfall, Unlimited scrolling, no need to manually click on the next page) ⭐, support various forums, social networking, games, comics, novels, academics, search engines (Google, Bing, Yahoo...) and other websites~

< Feedback on AutoPager

Review: Good - script works

§
Posted: 09.10.2022

imhentai.xxx
请求支持,感谢大佬

X.I.UAuthor
§
Posted: 10.10.2022

复制粘贴到脚本 自定义翻页规则 默认的 { } 中间保存(浏览器右上角 Tampermonkey 扩展图标内的脚本菜单)

    "imhentai.xxx": {
        "host": "imhentai.xxx",
        "url": "return fun.getCSS('.thumb') && fun.getCSS('.page-item.active')",
        "blank": 4,
        "pager": {
            "nextL": ".page-item.active+li:not(.disabled)>a",
            "pageE": ".thumb",
            "replaceE": ".pagination",
            "scrollD": 2000
        }
    },
    "imhentai.xxx - 图片页": {
        "host": "imhentai.xxx",
        "url": "if(fun.indexOF('/view/')){setTimeout(()=>{let _img='',iext_nx='',Pages=parseInt(document.getElementById('pages').value),image_dir=document.getElementById('image_dir').value,gallery_id=document.getElementById('gallery_id').value;for(let i=1;i<=Pages;i++){if(g_th[i].split(',')[0]=='j'){iext_nx='jpg'}else if(g_th[i].split(',')[0]=='p'){iext_nx='png'}else if(g_th[i].split(',')[0]=='b'){iext_nx='bmp'}else if(g_th[i].split(',')[0]=='g'){iext_nx='gif'};_img+=`<img src=\"//${random_server}/${image_dir}/${gallery_id}/${i}.${iext_nx}\">`;};console.log(_img);document.querySelector('.pre_img').outerHTML=_img;},1000);return true}",
        "style": ".nav_pagination {display: none !important;}",
        "hiddenPN": true
    }

scrollD 值越大,越早触发翻页。

另外,图片页是一次性把所有图片加载出来了。

Post reply

Sign in to post a reply.