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

Method hrefIsJs

Pagetual/pagetual.user.js:6175–6177  ·  view source on GitHub ↗
(href)

Source from the content-addressed store, hash-verified

6173 }
6174
6175 hrefIsJs(href) {
6176 return /^(javascript|#|$)/.test(href.trim().replace("#p{", "").replace(location.href, ""));
6177 }
6178
6179 async querySelectorList(source, list, defaultView) {
6180 for (let i = 0; i < list.length; i++) {

Callers 7

linkHasHrefMethod · 0.95
insertPageMethod · 0.95
initMethod · 0.80
initPageFunction · 0.80
clickNextFunction · 0.80
getLoadMoreFunction · 0.80
nextPageFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected