MCPcopy Create free account
hub / github.com/027xiguapi/code-box / queryChildElements

Function queryChildElements

contents/weixin.tsx:86–92  ·  view source on GitHub ↗
(element: Node)

Source from the content-addressed store, hash-verified

84}
85
86const queryChildElements = (element: Node) => {
87 if (element instanceof Element) {
88 ;[...element.querySelectorAll("*")].forEach((child) =>
89 formatLinks(child, child.childNodes)
90 )
91 }
92}
93
94const createLinkObserver = () => {
95 const observer = new MutationObserver((mutations) => {

Callers 2

createLinkObserverFunction · 0.85
weixin.tsxFile · 0.85

Calls 1

formatLinksFunction · 0.85

Tested by

no test coverage detected