MCPcopy Index your code
hub / github.com/XIU2/UserScript / check

Function check

Autopage.user.js:2599–2602  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2597 }
2598
2599 function check() { // 存在返回真,不存在返回假
2600 if (GM_getValue('menu_disable').indexOf(location.hostname) == -1) return false // 不存在返回假
2601 return true
2602 }
2603
2604 function add() {
2605 if (check()) return

Callers 3

menu_disableFunction · 0.70
addFunction · 0.70
delFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected