MCPcopy Create free account
hub / github.com/XIU2/UserScript / check

Function check

HTML5Volume.user.js:65–69  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

63 }
64
65 function check() { // 存在返回真,不存在返回假
66 let websiteList = GM_getValue('menu_forcedToEnable',[]); // 读取网站列表
67 if (websiteList.indexOf(location.host) === -1) return false // 不存在返回假
68 return true
69 }
70
71 function add() {
72 if (check()) return

Callers 3

menu_forcedToEnableFunction · 0.70
addFunction · 0.70
delFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected