MCPcopy Create free account
hub / github.com/hoothin/UserScripts / loadPageOver

Function loadPageOver

Pagetual/pagetual.user.js:13429–13446  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

13427 }
13428
13429 function loadPageOver() {
13430 isLoading = false;
13431 stopScroll = true;
13432 setTimeout(() => {stopScroll = false;}, 300);
13433 if (loadingDiv.parentNode) {
13434 loadingDiv.parentNode.removeChild(loadingDiv);
13435 }
13436 if (rate !== 1 && !clickMode) {
13437 setTimeout(() => {
13438 if (distToBottom() < bottomGap) {
13439 nextPage();
13440 }
13441 }, 1);
13442 }
13443 if (sideController.inited) {
13444 sideController.frame.classList.remove("pagetual-sideController-loading");
13445 }
13446 }
13447
13448 function checkAutoLoadNum() {
13449 if (autoLoadNum >= 0) {

Callers 5

insertPageMethod · 0.85
requestFromIframeFunction · 0.85
checkPageFunction · 0.85
overFunction · 0.85
nextPageFunction · 0.85

Calls 3

distToBottomFunction · 0.85
nextPageFunction · 0.85
removeMethod · 0.80

Tested by

no test coverage detected