Gone
Viral
Copy Link
WhatsApp
๐
Copy Link
X
Twitter
// โโ Prank Reveal Banner โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ (function() { var postSlug = window.location.pathname.split("/").pop() || ""; var dismissKey = "gv_reveal_" + postSlug; var dismissed = false; function fire(name, data) { try { if (window.GVA && window.GVA.track) window.GVA.track(name, data || {}); } catch(e) {} } function showReveal() { if (dismissed || sessionStorage.getItem(dismissKey)) return; dismissed = true; var overlay = document.getElementById("reveal-overlay"); var banner = document.getElementById("reveal-banner"); overlay.classList.add("visible"); setTimeout(function() { overlay.classList.add("showing"); }, 10); banner.classList.add("visible"); // Show share buttons after banner slides up var shareRow = document.getElementById("gv-share-buttons"); if (shareRow) shareRow.style.display = "flex"; // Wire up WhatsApp/Twitter share URLs var shareUrl = window.location.origin + "/p/" + postSlug; var waBtn = document.getElementById("gv-share-wa"); var twBtn = document.getElementById("gv-share-tw"); if (waBtn) waBtn.href = "https://wa.me/?text=" + encodeURIComponent("omg did you see this?? this is hilarious " + shareUrl); if (twBtn) twBtn.href = "https://twitter.com/intent/tweet?text=" + encodeURIComponent("omg did you see this?? this is hilarious") + "&url=" + encodeURIComponent(shareUrl); fire("reveal_banner_shown", { post_slug: postSlug }); try { if (window.GVA && window.GVA.trackFunnel) window.GVA.trackFunnel("reveal_banner_shown", { postSlug: postSlug }); } catch(e) {} } function dismissReveal() { var overlay = document.getElementById("reveal-overlay"); var banner = document.getElementById("reveal-banner"); overlay.classList.remove("showing"); overlay.addEventListener("transitionend", function() { overlay.classList.remove("visible"); }, { once: true }); banner.classList.remove("visible"); sessionStorage.setItem(dismissKey, "1"); fire("reveal_banner_dismissed", { post_slug: postSlug }); } var triggered = false; function triggerOnce() { if (!triggered) { triggered = true; showReveal(); } } setTimeout(triggerOnce, 4000); window.addEventListener("scroll", triggerOnce, { passive: true }); window.addEventListener("touchstart", triggerOnce, { passive: true }); document.getElementById("reveal-dismiss").addEventListener("click", dismissReveal); document.getElementById("reveal-cta").addEventListener("click", function() { fire("reveal_banner_clicked", { post_slug: postSlug }); try { if (window.GVA && window.GVA.trackFunnel) window.GVA.trackFunnel("reveal_cta_clicked", { postSlug: postSlug }); } catch(e) {} }); document.getElementById("reveal-overlay").addEventListener("click", dismissReveal); })(); function gvShareCopy() { var url = window.location.href; var btn = document.getElementById("gv-share-copy-btn"); var label = document.getElementById("gv-share-copy-label"); navigator.clipboard.writeText(url).then(function() { if (btn) btn.classList.add("copied"); if (label) label.textContent = "Copied!"; setTimeout(function() { if (btn) btn.classList.remove("copied"); if (label) label.textContent = "Copy Link"; }, 2000); try { if (window.GVA && window.GVA.track) { window.GVA.track("share_link_copied", {}); window.GVA.trackFunnel("share_clicked", { postSlug: window.location.pathname.split("/").pop(), metadata: { channel: "copy" } }); } } catch(e) {} }).catch(function() { var ta = document.createElement("textarea"); ta.value = url; document.body.appendChild(ta); ta.select(); document.execCommand("copy"); document.body.removeChild(ta); if (label) label.textContent = "Copied!"; setTimeout(function() { if (label) label.textContent = "Copy Link"; }, 2000); }); }
×
๐
Got you!
This post is fake. Made with
GoneViral
.
Make Your Own โ