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

Function getDescription

contents/medium.tsx:127–132  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

125 })
126
127 function getDescription() {
128 const summary = document.querySelector<HTMLMetaElement>(
129 'meta[name="description"]'
130 ).content
131 summary && prompt(i18n("getDescription"), summary)
132 }
133
134 function downloadPdf() {
135 const article = document.querySelector<HTMLElement>("article")

Callers

nothing calls this directly

Calls 1

i18nFunction · 0.85

Tested by

no test coverage detected