Interesting/TIPTECH
다음 뷰 추천 버튼 작게 바꾸기
duraboys
2010. 7. 13. 21:58
블로깅을 하다가 다음뷰와 믹시를 합치는 포스팅 내역을 확인했습니다.
포스팅 하신분의 주소 입니다.
그래서 저도 제 블로그에 한번 적용을 해보았습니다.
##_article_rep_desc_## 치환자 뒤에
<script type="text/javascript">
//<![CDATA[
// by chatii - http://chatii.textcube.com/52
// last updated at 09/05/15
var embed = document.getElementsByTagName("embed");
for (var i = 0; i < embed.length; i++) {
if (embed[i].getAttribute("src") && embed[i].getAttribute("src").indexOf("http://api.v.daum.net/static/recombox1.swf") != -1) {
var recomdiv = embed[i].parentNode;
recomdiv.innerHTML = recomdiv.innerHTML.replace("recombox1.swf", "recombox3.swf").replace("400", "67");
var param = recomdiv.parentNode.getElementsByTagName("param");
for(var j = 0; j < param.length; j++) {
if (param[j].getAttribute("value").indexOf("mixup") != "-1") {
param[j].parentNode.removeAttribute("align");
recomdiv.appendChild(param[j].parentNode);
}
}
}
}
//]]>
</script>
//<![CDATA[
// by chatii - http://chatii.textcube.com/52
// last updated at 09/05/15
var embed = document.getElementsByTagName("embed");
for (var i = 0; i < embed.length; i++) {
if (embed[i].getAttribute("src") && embed[i].getAttribute("src").indexOf("http://api.v.daum.net/static/recombox1.swf") != -1) {
var recomdiv = embed[i].parentNode;
recomdiv.innerHTML = recomdiv.innerHTML.replace("recombox1.swf", "recombox3.swf").replace("400", "67");
var param = recomdiv.parentNode.getElementsByTagName("param");
for(var j = 0; j < param.length; j++) {
if (param[j].getAttribute("value").indexOf("mixup") != "-1") {
param[j].parentNode.removeAttribute("align");
recomdiv.appendChild(param[j].parentNode);
}
}
}
}
//]]>
</script>