$(function(){ $("#counter").html("\"気に入った記事なら押してクポー\" 4 kupo / 3938 view"); $("#star").click(function(){ setTimeout(function(){ var scriptTag = document.createElement("script"); scriptTag.type = "text/javascript"; scriptTag.src = "https://wiki.ffo.jp:8017/counter.yaws/s/3043175231fe96506df4026975184308/article/21372?213182112160" scriptTag.charset = "UTF-8"; document.getElementsByTagName("head")[0].appendChild(scriptTag); }, 0); return false; }); });