क्रिकेट स्पोर्ट्स बॉलीवुड राजनीति जॉब - एजुकेशन बिजनेस लाइफस्टाइल देश अंतरराष्ट्रीय टेक्नोलॉजी छत्तीसगढ़

---Advertisement---

Economy Surge: Global Markets See Unprecedented Growth Post-Recession

On: दिसम्बर 25, 2025 10:35 पूर्वाह्न
Follow Us:
4
---Advertisement---

Lorem ipsum dolor sit amet, consectetur adipiscing mollis dolor facilisis porttitor.

This is the rest of the content that will appear only on single post view.

Join WhatsApp

Join Now

Join Telegram

Join Now

Leave a Comment

// Function to get current page info for sharing const currentUrl = window.location.href; const pageTitle = document.title; // --- 1. Follow Your Official Pages --- // These links go directly to the URLs you provided // Instagram Follow document.getElementById('wpliteInstagramFollow').addEventListener('click', function() { const instaUrl = 'https://www.instagram.com/worldprime.news?igsh=N3I0azl5ZTd1b3U5&utm_source=qr'; window.open(instaUrl, '_blank'); }); // Facebook Follow document.getElementById('wpliteFacebookFollow').addEventListener('click', function() { const fbUrl = 'https://www.facebook.com/share/1ATWDHQiYR/?mibextid=wwXIfr'; window.open(fbUrl, '_blank'); }); // --- 2. Share Current Page to Others --- // These remain as "Sharing" functions // WhatsApp Share document.getElementById('wpliteWhatsAppShare').addEventListener('click', function() { const whatsappUrl = 'https://api.whatsapp.com/send?text=' + encodeURIComponent(pageTitle + " " + currentUrl); window.open(whatsappUrl, '_blank'); }); // Twitter Share document.getElementById('wpliteTwitterShare').addEventListener('click', function() { const twitterUrl = 'https://twitter.com/intent/tweet?url=' + encodeURIComponent(currentUrl) + '&text=' + encodeURIComponent(pageTitle); window.open(twitterUrl, '_blank'); }); // --- 3. Mobile Native Share (The Floating Button) --- document.getElementById("mobileShareFloatingButton").addEventListener("click", function (e) { e.preventDefault(); if (navigator.share) { navigator.share({ title: pageTitle, url: currentUrl }) .then(() => console.log("Share successful")) .catch(err => console.error("Share failed", err)); } else { alert("Native sharing not supported. Use the icons below!"); } });