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

Function menu_value

Hostloc-Enhanced.user.js:77–83  ·  view source on GitHub ↗
(menuName)

Source from the content-addressed store, hash-verified

75 };
76 // 返回菜单值
77 function menu_value(menuName) {
78 for (let menu of menu_ALL) {
79 if (menu[0] == menuName) {
80 return menu[3]
81 }
82 }
83 }
84 // 检查是否登陆
85 var loginStatus = false;
86 if (document.getElementById('um')) {

Callers 10

registerMenuCommandFunction · 0.70
blockUsersFunction · 0.70
blockUsers_Function · 0.70
vfastpostFunction · 0.70
blockKeywordsFunction · 0.70
showPostsFunction · 0.70
delate255Function · 0.70
delatePollsFunction · 0.70
pageLoadingFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected