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

Function menu_value

DarkMode.user.js:336–342  ·  view source on GitHub ↗
(menuName)

Source from the content-addressed store, hash-verified

334
335 // 返回菜单值
336 function menu_value(menuName) {
337 for (let menu of menu_ALL) {
338 if (menu[0] == menuName) {
339 return menu[3]
340 }
341 }
342 }
343
344
345 // 添加样式

Callers 5

registerMenuCommandFunction · 0.70
checkFunction · 0.70
addFunction · 0.70
delFunction · 0.70
addStyleFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected