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

Function menu_value

Lanzou-Enhanced.user.js:141–147  ·  view source on GitHub ↗
(menuName)

Source from the content-addressed store, hash-verified

139
140 // 返回菜单值
141 function menu_value(menuName) {
142 for (let menu of menu_ALL) {
143 if (menu[0] == menuName) {
144 return menu[3]
145 }
146 }
147 }
148
149
150 if (window.top.location.pathname === '/u' || window.top.location.pathname.indexOf('account.php') > -1 || window.top.location.pathname.indexOf('mydisk.php') > -1) { // 后台页

Callers 13

registerMenuCommandFunction · 0.70
iframeFunction · 0.70
rightClickMenuFunction · 0.70
directDownloadFunction · 0.70
directDownload_Function · 0.70
folderDescdesFunction · 0.70
getUrlFunction · 0.70
fileShaFunction · 0.70
hideShaFunction · 0.70
callbackFunction · 0.70
fileListCallbackFunction · 0.70
folderListCallbackFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected