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

Function over

Pagetual/pagetual.user.js:13529–13544  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13527 setTimeout(() => {
13528 if (ruleParser.curSiteRule.pageElementByJs) {
13529 var over = eles => {
13530 if (urlChanged || isPause) {
13531 loadPageOver();
13532 return;
13533 }
13534 if (eles) {
13535 ruleParser.insertPage(document, eles, nextLink, () => {
13536 createPageBar(nextLink);
13537 checkAutoLoadNum();
13538 }, true);
13539 } else {
13540 debug("Stop as no page when get by js");
13541 isPause = true;
13542 loadPageOver();
13543 }
13544 };
13545 try {
13546 ((typeof ruleParser.curSiteRule.pageElementByJs === 'function') ? ruleParser.curSiteRule.pageElementByJs : Function("over", "pageNum",'"use strict";' + ruleParser.curSiteRule.pageElementByJs))(over, curPage);
13547 } catch(e) {

Callers 6

downloadImgFunction · 0.85
crosHandlerFunction · 0.85
downloadOneFunction · 0.85
downloadImgFunction · 0.85
crosHandlerFunction · 0.85
downloadOneFunction · 0.85

Calls 5

loadPageOverFunction · 0.85
createPageBarFunction · 0.85
checkAutoLoadNumFunction · 0.85
debugFunction · 0.85
insertPageMethod · 0.80

Tested by

no test coverage detected