$(function(){ $("#counter").html("\"気に入った記事なら押してクポー\" 4 kupo / 1336 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/706c3c610db50840587dc9a5d7b0cd81/article/18562?162187524432" scriptTag.charset = "UTF-8"; document.getElementsByTagName("head")[0].appendChild(scriptTag); }, 0); return false; }); });