Siblia

Share Plugin

Explore the developer tools we offer

Share Plugin

  1. 1 Add the following code in your site, inside the head tag:
    HTML
    <script>
      function SocialShare(url) {
        window.open('https://siblia.com/share?url=' + url, '', 'height=600,width=800');
      }
    </script>
  2. 2 Then place the share button after changing the URL you want to share to your page HTML:
    HTML
    <button onclick="SocialShare('http://yoursite.com/')">Share</button>
  3. 3 Also you can use this code to share the current page:
    HTML
    <button onclick="SocialShare(window.location.href)">Share</button>
© 2026 Siblia