MCPcopy
hub / github.com/027xiguapi/code-box / autoOpenCodeFunc

Function autoOpenCodeFunc

contents/jianshu.tsx:165–177  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

163
164 // 自动展开全文
165 function autoOpenCodeFunc() {
166 const tips = document.querySelector(".collapse-tips")
167 if (tips) {
168 const css = `
169 .collapse-free-content{
170 height: auto !important;
171 }
172 .collapse-tips {
173 display: none !important;
174 }`
175 addCss(css)
176 }
177 }
178
179 function getDescription() {
180 const summary = document.querySelector<HTMLMetaElement>(

Callers 1

PlasmoOverlayFunction · 0.70

Calls 1

addCssFunction · 0.85

Tested by

no test coverage detected