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