Try this recipe
このツイッター共有機能の冒頭で、テキストの文字列を出力する方法を見つけようとしています。したがって、ボタンをクリックして共有すると、「このレシピを試してください」と表示され、URLなどが表示されます。ありがとうございます。
function load_twitter() {
var load = window.open('http://twitter.com/share?url='+ window.location.href +'&via=atsbyvermouth','','scrollbars=no,menubar=no,height=450,width=650,resizable=yes,toolbar=no,location=no,status=no');
}