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