<script type='text/javascript'>
//<![CDATA[
function replaceText(){if(!document.getElementById){return;}
bodyText = document.getElementById("comment-holder");
theText = bodyText.innerHTML;
theText = theText.replace(/\[img\].*?'.*?\[\/img\]/gi, "");
theText = theText.replace(/\[nct\].*?'.*?\[\/nct\]/gi, "");
theText = theText.replace(/\[youtube\].*?'.*?\[\/youtube\]/gi, "");
theText = theText.replace(/\[img\]/gi, "<a href='");
theText = theText.replace(/\[\/img\]/gi, "'>Xem ảnh</a>");
theText = theText.replace(/\[youtube\]https:\/\/youtu.be/gi, "<iframe width='480' height='390' src='https://www.youtube.com/embed");
theText = theText.replace(/\[youtube\]https:\/\/www.youtube.com\/watch\?v=/gi, "<iframe width='480' height='390' src='https://www.youtube.com/embed/");
theText = theText.replace(/&feature=/gi, "?rel=0' '");
theText = theText.replace(/\[\/youtube\]/gi, "?rel=0' frameborder='0' allowfullscreen></iframe>");
theText = theText.replace(/\[nct\]http:\/\/www.nhaccuatui.com\/nghe\?L=/gi, "<div style='overflow:hidden'><embed style='margin-top:-250px;width:300px;height:400px' src='http://www.nhaccuatui.com/l/");
theText = theText.replace(/\[nct\]http:\/\/www.nhaccuatui.com\/nghe\?M=/gi, "<div style='overflow:hidden'><embed style='margin-top:-350px;width:300px;height:400px' src='http://www.nhaccuatui.com/m/");
theText = theText.replace(/\[\/nct\]/gi, "' quality='high' wmode='transparent' type='application/x-shockwave-flash'></embed></div>");

theText = theText.replace(/:\)/gi, "<img class='tkn_emoticon' src='https://i.imgur.com/ChuzkwA.png'/>");
theText = theText.replace(/=\)/gi, "<img class='tkn_emoticon' src='https://i.imgur.com/csnz5ec.png'/>");
theText = theText.replace(/:\(/gi, "<img class='tkn_emoticon' src='https://i.imgur.com/sJKPKNL.png'/>");
theText = theText.replace(/:D/gi, "<img class='tkn_emoticon' src='https://i.imgur.com/jByThCS.png'/>");
theText = theText.replace(/:v/gi, "<img class='tkn_emoticon' src='https://i.imgur.com/yvUDfPP.png'/>");
theText = theText.replace(/<3/gi, "<img class='tkn_emoticon' src='https://i.imgur.com/yW9iN6j.png'/>");
theText = theText.replace(/;\)/gi, "<img class='tkn_emoticon' src='https://i.imgur.com/pYDVCDW.png'/>");
theText = theText.replace(/\^_\^/gi, "<img class='tkn_emoticon' src='https://i.imgur.com/kNnsdmT.png'/>");
theText = theText.replace(/:\(\(/gi, "<img class='tkn_emoticon' src='https://i.imgur.com/bUJjry0.png'/>");
theText = theText.replace(/\(y\)/gi, "<img class='tkn_emoticon' src='https://i.imgur.com/79F88wK.png'/>");
theText = theText.replace(/đụ mạ/gi, "@^%#!$%");
theText = theText.replace(/địt mẹ/gi, "@^%#!$%");
theText = theText.replace(/lồn/gi, "@^%#!$%");
theText = theText.replace(/lồ n/gi, "@^%#!$%");
theText = theText.replace(/l ồn/gi, "@^%#!$%");
theText = theText.replace(/đụmạ/gi, "@^%#!$%");
theText = theText.replace(/đ ụ mạ/gi, "@^%#!$%");
theText = theText.replace(/đụ m ạ/gi, "@^%#!$%");
theText = theText.replace(/đ ụ m ạ/gi, "@^%#!$%");
theText = theText.replace(/đụ/gi, "@^%#!$%");
theText = theText.replace(/cặc/gi, "@^%#!$%");
theText = theText.replace(/cặ c/gi, "@^%#!$%");
theText = theText.replace(/c ặc/gi, "@^%#!$%");
theText = theText.replace(/c ặ c/gi, "@^%#!$%");
bodyText.innerHTML = theText;
}replaceText();
//]]>
</script>

--

URL: http://notepad.linkthuthuat.com/