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

Function createSwitchIcon

linuxdo-helper.user.js:455–461  ·  view source on GitHub ↗

* 创建并插入开关图标到页面

()

Source from the content-addressed store, hash-verified

453 * 创建并插入开关图标到页面
454 */
455 async function createSwitchIcon() {
456 const switchButton = createSwitchButton();
457
458 await findChatButton();
459
460 insertSwitchButton(switchButton);
461 }
462
463 /**
464 * 注入悬浮面板样式,支持亮色/暗色主题

Callers 1

mainFunction · 0.85

Calls 3

createSwitchButtonFunction · 0.85
findChatButtonFunction · 0.85
insertSwitchButtonFunction · 0.85

Tested by

no test coverage detected