MCPcopy Create free account
hub / github.com/Yantesoft/LinuxdoAssistant / getSwitchState

Function getSwitchState

linuxdo-helper.user.js:244–246  ·  view source on GitHub ↗

* 获取当前标签页的助手运行状态 * @returns {boolean} 当前标签页是否启用

()

Source from the content-addressed store, hash-verified

242 * @returns {boolean} 当前标签页是否启用
243 */
244 function getSwitchState() {
245 return getTabValue(STORAGE_KEYS.enabled, false);
246 }
247
248 /**
249 * 切换助手开关状态

Callers 9

toggleSwitchFunction · 0.85
createSwitchButtonFunction · 0.85
jumpWithRandomDelayFunction · 0.85
loadPageFunction · 0.85
doScrollFunction · 0.85
startAutoScrollFunction · 0.85
mainFunction · 0.85

Calls 1

getTabValueFunction · 0.85

Tested by

no test coverage detected