我使用以下代码检测到使用javascript访问页面的结尾:
window.onscroll = function(ev) {
if (((document.documentElement && document.documentElement.scrollHeight) || document.body.scrollHeight)) {
alert("Bottom of page");
}
};
它适用于桌面的chrome,但不适用于android webview