Greasy Fork is available in English.
笔趣阁小说阅读时,当到达底部指定秒数后自动点击下一章
当前为
// ==UserScript==
// @name 笔趣阁小说阅读到达底部自动翻页
// @namespace [email protected]
// @include http://www.cits0871.com/*
// @license MIT
// @grant no
// @version 1.3
// @run-at document-end
// @description 笔趣阁小说阅读时,当到达底部指定秒数后自动点击下一章
// @require http://code.jquery.com/jquery-1.11.0.min.js
// ==/UserScript==
(function () {
xh()
function xh(){
setTimeout(function(){//延迟器
var scrollTop = document.documentElement.scrollTop || document.body.scrollTop;
var clientHeight = document.documentElement.clientHeight || document.body.clientHeight;
var scrollHeight = document.documentElement.scrollHeight || document.body.scrollHeight;
if(scrollHeight > clientHeight && scrollTop + clientHeight === scrollHeight) {
document.getElementsByClassName("bottem2")[0].children[3].click();
}
xh();
},5000)
}
})();