Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
toggleSwitch
Function · 0.85
createSwitchButton
Function · 0.85
createFloatingSpeedSlider
Function · 0.85
updateFloatingSliderVisibility
Function · 0.85
jumpWithRandomDelay
Function · 0.85
loadPage
Function · 0.85
doScroll
Function · 0.85
startAutoScroll
Function · 0.85
main
Function · 0.85
Calls
1
getTabValue
Function · 0.85
Tested by
no test coverage detected