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

Function getDescription

contents/segmentfault.tsx:68–73  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

66 })
67
68 function getDescription() {
69 const summary = document.querySelector<HTMLMetaElement>(
70 'meta[name="description"]'
71 ).content
72 summary && prompt(i18n("getDescription"), summary)
73 }
74
75 function downloadPdf() {
76 const article = document.querySelector<HTMLElement>(".container")

Callers

nothing calls this directly

Calls 1

i18nFunction · 0.85

Tested by

no test coverage detected