Biểu mẫu liên hệ

 

[BLOGGER] EMOTION COMMENT BLOGSPOT WONDERFUL

Chào mọi người, như các bạn cũng đã biết thủ thuật này đã có từ rất lâu rồi, việc thêm biểu tượng mặt cười vào khung bình luận một thời rất phổ biến và được nhiều người sữ dụng.

Với thủ thuật này hoàn toàn đơn giản chứ không phải phức tạp hay rắc rồi gì ở bước cài đặt nhé mọi người, chúng ta chỉ cần copy đoạn code và để trên thẻ </body> là xong.

Bên dưới là đoạn code mình chưa mã hóa để mọi người có thể chỉnh sữa theo ý muốn của bản thân nhé.
<b:if cond='data:view.isPost'>
 <script type='text/javascript'>
//<![CDATA[
function replaceText()
	{
	if(!document.getElementById)
		{
		return
	}
	bodyText=document.getElementById("comments");
	theText=bodyText.innerHTML;
	theText=theText.replace(/\/\=r/gi,"<img class='hungqbemotion' src='https://emotion.hung.pro.vn/v2/icon-cuoi-khinh--hungqb.webp'/>");
	theText=theText.replace(/:\)\)/gi,"<img class='hungqbemotion' src='https://emotion.hung.pro.vn/v2/cuoi-chay-mo-hoi-hungqb.webp'/>");
	theText=theText.replace(/;
	\)/gi,"<img class='hungqbemotion' src='https://emotion.hung.pro.vn/v2/nhay-mat-emoji-hungqb.webp'/>");
	theText=theText.replace(/=\)\)/gi,"<img class='hungqbemotion' src='https://emotion.hung.pro.vn/v2/cuoi-ra-nuoc-mat-hungqb.webp'/>");
	theText=theText.replace(/:\(\(/gi,"<img class='hungqbemotion' src='https://emotion.hung.pro.vn/v2/khoc-cmnr-hungqb.webp'/>");
	theText=theText.replace(/&lt;
	3/gi,"<img class='hungqbemotion' src='https://emotion.hung.pro.vn/v2/heart-emo-hungqb.webp'/>");
	theText=theText.replace(/:v/gi,"<img class='hungqbemotion' src='https://emotion.hung.pro.vn/v2/pac-man-emoji-hungqb.webp'/>");
	theText=theText.replace(/:\)/gi,"<img class='hungqbemotion' src='https://emotion.hung.pro.vn/v2/cuoi-mim-emoji-hungqb.webp'/>");
	theText=theText.replace(/:\(/gi,"<img class='hungqbemotion' src='https://emotion.hung.pro.vn/v2/sad-emoji-hungqb.webp'/>");
	theText=theText.replace(/==/gi,"<img class='hungqbemotion' src='https://emotion.hung.pro.vn/v2/emoji-mat-l-_hungqb.webp''/>");
	theText=theText.replace(/:\*/gi,"<img class='hungqbemotion' src='https://emotion.hung.pro.vn/v2/kiss-hungqb.webp'/>");
	theText=theText.replace(/:D/gi,"<img class='hungqbemotion' src='https://emotion.hung.pro.vn/v2/cuoi-nhe-rang-hungqb.webp'/>");
	theText=theText.replace(/\^\_\^/gi,"<img class='hungqbemotion' src='https://emotion.hung.pro.vn/v2/cuoi-thoa-man-hungqb.webp'/>");
	theText=theText.replace(/\/=s/gi,"<img class='hungqbemotion' src='https://emotion.hung.pro.vn/v2/cuc-shit-hungqb.webp'/>");
	theText=theText.replace(/\/=ok/gi,"<img class='hungqbemotion' src='https://emotion.hung.pro.vn/v2/OK-hungqb.webp'/>");
	theText=theText.replace(/\/=hi/gi,"<img class='hungqbemotion' src='https://emotion.hung.pro.vn/v2/hi_-hungqb.webp'/>");
	theText=theText.replace(/\(y\)/gi,"<img class='hungqbemotion' src='https://emotion.hung.pro.vn/v2/like-hungqb.webp'/>");
	theText=theText.replace(/:p/gi,"<img class='hungqbemotion' src='https://emotion.hung.pro.vn/v2/hahe-hungqb.webp'/>");
	theText=theText.replace(/\(yy\)/gi,"<img class='hungqbemotion' src='https://emotion.hung.pro.vn/v2/dislike_hungqb.webp'/>");
	theText=theText.replace(/\/=l/gi,"<img class='hungqbemotion' src='https://emotion.hung.pro.vn/v2/liec-cmn-mat-hungqb.webp'/>");
	theText=theText.replace(/\:\-\)/gi,"<img class='hungqbemotion' src='https://emotion.hung.pro.vn/v2/haiz-_hungqb.webp'/>");
	theText=theText.replace(/\/=hl/gi,"<img class='hungqbemotion' src='https://emotion.hung.pro.vn/v2/hand-left-hungqb.webp'/>");
	theText=theText.replace(/\/=hr/gi,"<img class='hungqbemotion' src='https://emotion.hung.pro.vn/v2/hand-right-hungqb.webp'/>");
	theText=theText.replace(/\/=hup/gi,"<img class='hungqbemotion' src='https://emotion.hung.pro.vn/v2/hand-up-hungqb.webp'/>");
	theText=theText.replace(/\/=hd/gi,"<img class='hungqbemotion' src='https://emotion.hung.pro.vn/v2/hand-down-hungqb.webp'/>");
	theText=theText.replace(/\/=clap/gi,"<img class='hungqbemotion' src='https://emotion.hung.pro.vn/v2/clap-hand-hungqb.webp'/>");
	theText=theText.replace(/\/=he/gi,"<img class='hungqbemotion' src='https://emotion.hung.pro.vn/v2/love-hungqb.webp'/>");
	bodyText.innerHTML=theText
}
replaceText();
//]]>
</script>  
</b:if>

Còn bên dưới là đoạn code mình đã mã hóa để phù hợp cho mọi người tối ưu tốc độ và source nhé.
  <script type='text/javascript'>
//<![CDATA[
eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('x m(){z(!n.o){A}k=n.o("B");0=k.q;0=0.1(/\\/\\=r/2,"<4 5=\'6\' 7=\'8://9.a.b.c/d/C-g-E--f.e\'/>");0=0.1(/:\\)\\)/2,"<4 5=\'6\' 7=\'8://9.a.b.c/d/g-F-G-H-f.e\'/>");0=0.1(/;\\)/2,"<4 5=\'6\' 7=\'8://9.a.b.c/d/I-j-h-f.e\'/>");0=0.1(/=\\)\\)/2,"<4 5=\'6\' 7=\'8://9.a.b.c/d/g-J-K-j-f.e\'/>");0=0.1(/:\\(\\(/2,"<4 5=\'6\' 7=\'8://9.a.b.c/d/L-M-f.e\'/>");0=0.1(/&N;3/2,"<4 5=\'6\' 7=\'8://9.a.b.c/d/O-P-f.e\'/>");0=0.1(/:v/2,"<4 5=\'6\' 7=\'8://9.a.b.c/d/Q-t-h-f.e\'/>");0=0.1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9.a.b.c/d/w-i-f.e\'/>");0=0.1(/\\/=1j/2,"<4 5=\'6\' 7=\'8://9.a.b.c/d/1k-f.e\'/>");k.q=0}m();',62,83,'theText|replace|gi||img|class|hungqbemotion|src|https|emotion|hung|pro|vn|v2|webp|hungqb|cuoi|emoji|hand|mat|bodyText||replaceText|document|getElementById||innerHTML|||man|_hungqb||clap|function||if|return|comments|icon||khinh|chay|mo|hoi|nhay|ra|nuoc|khoc|cmnr|lt|heart|emo|pac|mim|sad|kiss|nhe|rang|_|thoa|cuc|shit|ok|OK|hi|hi_|like|hahe|yy|dislike_hungqb|liec|cmn|haiz|hl|left|hr|right|hup|up|hd|down|he|love'.split('|'),0,{}))
//]]>
</script>  

Như vậy các bạn đã có biểu tượng mặt cười hiện ở khung nhận xét BLOSPOT rồi nhé.
 
Nếu hình ảnh không hiển thị có nghĩa đường link biểu tượng bị DIE mọi người có thể tải full biêu tưởng phía bên dưới nhé.

Total comment

Author

Bill Amazing Z

10   Comments

(y) good code, thủ thuật này chia sẽ nhiều rồi e nhé.
chất lượng đó e, tối ưu hình ảnh và tốc độ tải chất lượng đấy
Tôi Hà Linh Blog nói... lúc 04:20 9 tháng 2, 2025
bị lỗi kìa a? sao vậy?
Tôi Hà Linh Blog nói... lúc 06:37 14 tháng 2, 2025
Lúc đó máy e mất mạng a :d

Cancel Reply