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

Method reachedLastPage

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

Source from the content-addressed store, hash-verified

6711 }
6712
6713 reachedLastPage() {
6714 if (rulesData.lastPageTips) {
6715 showTips(i18n("lastPage"), "", 800);
6716 }
6717 _unsafeWindow.postMessage({
6718 action: "lastPage",
6719 command: 'pagetual'
6720 }, '*');
6721 if (sideController.inited) {
6722 sideController.frame.classList.add("end");
6723 }
6724 }
6725
6726 async getNextLink(doc, exist) {
6727 let nextLink = null, page, href;

Callers 3

getNextLinkMethod · 0.95
returnFalseFunction · 0.80
nextPageFunction · 0.80

Calls 2

showTipsFunction · 0.85
i18nFunction · 0.70

Tested by

no test coverage detected