MCPcopy Create free account
hub / github.com/Yorick-Ryu/deep-share / updateElementStyle

Function updateElementStyle

scripts/copyGeminiMath.js:85–93  ·  view source on GitHub ↗
(element)

Source from the content-addressed store, hash-verified

83
84// 更新元素样式和提示
85function updateElementStyle(element) {
86 if (formulaSettings.enableFormulaCopy) {
87 element.style.cursor = 'pointer';
88 element.title = chrome.i18n?.getMessage('clickToCopyFormula');
89 } else {
90 element.style.cursor = '';
91 element.title = '';
92 }
93}
94
95// 更新所有已处理元素的样式和行为
96function updateAllElements() {

Callers 1

enableGeminiMathCopyFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected