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

Function downloadHtml

contents/baidu.tsx:106–111  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

104 }
105
106 function downloadHtml() {
107 const dom = document.querySelector(
108 isBaijiahao ? "#ssr-content .EaCvy" : ".wd-ai-index-pc"
109 )
110 saveHtml(dom, articleTitle)
111 }
112
113 function parseMarkdown() {
114 const dom = document.querySelector<HTMLElement>(

Callers 1

PlasmoOverlayFunction · 0.70

Calls 1

saveHtmlFunction · 0.85

Tested by

no test coverage detected