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