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

Method findNoNext

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

Source from the content-addressed store, hash-verified

5260 }
5261
5262 findNoNext() {
5263 if (!this.curSiteRule || !this.curSiteRule.smart || this.curSiteRule.nextLink === 0 || this.possibleRule) return;
5264 let self = this;
5265 self.curSiteRule.nextLink = 0;
5266 self.smartRules = self.smartRules.filter(item => {return item && item.url !== self.curSiteRule.url;});
5267 self.smartRules.unshift(self.curSiteRule);
5268 storage.setItem("smartRules", self.smartRules);
5269 }
5270
5271 async getRule(callback) {
5272 var href = location.href.slice(0, 500);

Callers 2

emuPageFunction · 0.80
nextPageFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected