MCPcopy Create free account
hub / github.com/pollinations/pollinations / shareMeme

Function shareMeme

apps/catgpt/script.js:455–469  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

453}
454
455async function shareMeme() {
456 if (!dom.generatedMeme.src) {
457 notify("Generate a meme first! 🎨", "warning");
458 return;
459 }
460 try {
461 await navigator.clipboard.writeText(window.location.href);
462 notify(
463 "Link copied! Recipients will see the meme auto-generate 📋",
464 "success",
465 );
466 } catch {
467 notify("Could not copy link. Try copying it manually! 🔗", "error");
468 }
469}
470
471// ── BYOP Auth ────────────────────────────────────────────────────────────────
472

Callers

nothing calls this directly

Calls 1

notifyFunction · 0.85

Tested by

no test coverage detected