مشاركة التطبيق
أضف الكود التالي في موقعك ، داخل علامة الرأس head tag:
            <script>
              function SocialShare(url) {
                  window.open('https://humwaten.pk/share?url=' + url, '', 'height=600,width=800');
              }
            </script>
            
ثم ضع زر المشاركة بعد تغيير عنوان URL الذي تريد مشاركته في صفحة HTML الخاصة بك:
<button onclick="SocialShare('http://yoursite.com/')">Share</button>
Also you can use this code to share the current page:
<button onclick="SocialShare(window.location.href)">Share</button>
مثال: