MCPcopy Index your code
hub / github.com/hoothin/UserScripts / checkAutoLoadNum

Function checkAutoLoadNum

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

Source from the content-addressed store, hash-verified

13446 }
13447
13448 function checkAutoLoadNum() {
13449 if (autoLoadNum >= 0) {
13450 if (autoLoadNum !== 0 && --autoLoadNum === 0) {
13451 autoLoadNum = initAutoLoadNum || -1;
13452 } else {
13453 setTimeout(() => nextPage(), 1);
13454 }
13455 }
13456 }
13457
13458 async function nextPage() {
13459 if (isPause || isLoading || forceState === 1) return;

Callers 2

overFunction · 0.85
nextPageFunction · 0.85

Calls 1

nextPageFunction · 0.85

Tested by

no test coverage detected