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

Function removeRichContentCollapsed

contents/zhihu.tsx:224–231  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

222 }
223
224 function removeRichContentCollapsed() {
225 const isCollapseds = document.querySelectorAll(".RichContent.is-collapsed")
226 if (isCollapseds.length > 0) {
227 isCollapseds.forEach((isCollapsed) => {
228 isCollapsed.classList.remove("is-collapsed")
229 })
230 }
231 }
232
233 function downloadPdf() {
234 const article = document.querySelector<HTMLElement>("article.Post-Main")

Callers 1

autoOpenCodeFuncFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected