プラグインを共有する
次のコードをサイトのヘッドタグ内に追加します:
            <script>
              function SocialShare(url) {
                  window.open('https://community.taoers.com/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>
例: