プラグインを共有
ヘッドタグの中に次のコードをサイトに追加する:
            <script>
              function SocialShare(url) {
                  window.open('https://cdefgahc.com/share?url=' + url, '', 'height=600,width=800');
              }
            </script>
            
次に、ページHTMLに共有したいURLを変更した後、共有ボタンを配置します。:
<button onclick="SocialShare('http://yoursite.com/')">Share</button>
また、このコードを使用して現在のページを共有することができます:
<button onclick="SocialShare(window.location.href)">Share</button>
例: