NEW

Mang nguyên bộ Emoji của Facebook phiên bản mới nhất vào Blogspot dễ dàng

Xin chào các bạn, đã đến với blog của mình hôm nay ở bài viết này mình xin hướng dẫn Mang bộ Emoji của Facebook mới nhất vào Blogspot đọc tới đây thôi đã thấy thú vị rồi đúng không nào, vậy chúng ta bắt đầu thêm Emoji của Facebook vào Blog thôi nào.

hướng dẫn chèn Emoji của Facebook phiên bản mới nhất vào Blogspot một cách dễ dàng chỉ với 3 thao tác, cách mang nguyên bộ Emoji của Facebook Messenger bản mới nhất vào Blogspot

Cách thực hiện

Chèn đoạn Javascript bên dưới vào trước thẻ </body>
<b:if cond='data:blog.pageType != &quot;index&quot;'>
<style>.nguyenngocquidz_emoticon {width: 20px; margin: -5px 0 0!important; vertical-align: middle;pointer-events:none}</style>
<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='nguyenngocquidz_emoticon' src='https://1.bp.blogspot.com/-Krynz0NVLh4/W41N6wa-nAI/AAAAAAAAFpk/VC7JUdE-pM4K4DUw4UAJAJdzv-3qyz3XwCK4BGAYYCw/s1600/Icon%2BFacebook%2B%25284%2529.png'/>");
theText = theText.replace(/:\)\)/gi, "<img class='nguyenngocquidz_emoticon' src='https://4.bp.blogspot.com/--MhEHbcCNWs/W41OpN_4WmI/AAAAAAAAFqc/6vVAhVAJ_9wqF5yW2UWViNuXZXbbtcR2wCK4BGAYYCw/s1600/Icon%2BFacebook%2B%25288%2529.png'/>");
theText = theText.replace(/;\)/gi, "<img class='nguyenngocquidz_emoticon' src='https://2.bp.blogspot.com/-nlZEAvwVrkE/W41OLKfeLqI/AAAAAAAAFp0/44vy44eiQr81dNkemmeQP8YiQDHmVJD6gCK4BGAYYCw/s1600/Icon%2BFacebook%2B%25286%2529.png'/>");
theText = theText.replace(/=\)\)/gi, "<img class='nguyenngocquidz_emoticon' src='https://4.bp.blogspot.com/-7Sxz-o5gLDE/W41OYAagTuI/AAAAAAAAFp8/bljfURdGe8QC29xoEu-YzAqOutU6CMnTQCK4BGAYYCw/s1600/Icon%2BFacebook%2B%25287%2529.png'/>");
theText = theText.replace(/:\(\(/gi, "<img class='nguyenngocquidz_emoticon' src='https://4.bp.blogspot.com/-61XW21C3rL0/W46FvU-iW7I/AAAAAAAAFrE/H8OGP80qFC8iwMe8Xug65m2YJo8wfItcgCK4BGAYYCw/s1600/nh%25C3%25B3c.png'/>");
theText = theText.replace(/&lt;3/gi, "<img class='nguyenngocquidz_emoticon' src='https://4.bp.blogspot.com/-wJ-2nyjifEA/W41NZpB-mdI/AAAAAAAAFpQ/FhaEP6gwBpwxdFFM_za9VwojA0qgUFh1QCK4BGAYYCw/s1600/Icon%2BFacebook%2B%25282%2529.png'/>");
theText = theText.replace(/:v/gi, "<img class='nguyenngocquidz_emoticon' src='https://2.bp.blogspot.com/-O8c-moq--9k/Wj9edQA0hXI/AAAAAAAAAdk/Uh4B-i7MUOstJ_xoUwPenrCYnl5lnDp4wCLcBGAs/s30/pac-man-emoji.png'/>");
theText = theText.replace(/:\)/gi, "<img class='nguyenngocquidz_emoticon' src='https://2.bp.blogspot.com/-j8XGoILBK40/W41Mq2GzLzI/AAAAAAAAFo4/SpO-VIdFwFMExYe1NxE66_7xd_kPcmDnwCK4BGAYYCw/s1600/Icon%2BFacebook%2B%25282%2529.png'/>");
theText = theText.replace(/:\(/gi, "<img class='nguyenngocquidz_emoticon' src='https://3.bp.blogspot.com/-ZsXACIgPeiY/W46F5g8gv2I/AAAAAAAAFrM/0hDxVoKhFdYGMR-pP_14tV_IKU8fT_kyQCK4BGAYYCw/s1600/buon%2Bcmnr.png'/>");
theText = theText.replace(/==/gi, "<img class='nguyenngocquidz_emoticon' src='https://3.bp.blogspot.com/-sFKZPXvw8y4/W46GaTC1KRI/AAAAAAAAFrY/txoO3xHG99MUKIpF2DPsVBL2ghFIGHFdQCK4BGAYYCw/s1600/khoc%2Bme%2Broi.png''/>");
theText = theText.replace(/:\*/gi, "<img class='nguyenngocquidz_emoticon' src='https://2.bp.blogspot.com/-rfPIGzZj6qg/W46J3gtbDjI/AAAAAAAAFt4/5tls_kbUD4AGuNygn3pUSulkx_GU1P_swCK4BGAYYCw/s1600/hunne.png'/>");
theText = theText.replace(/:D/gi, "<img class='nguyenngocquidz_emoticon' src='https://2.bp.blogspot.com/-5q8lhqAVK2s/W41NJeX1KOI/AAAAAAAAFpE/8b8ATC5y7OAWJ8nDDO8z-SAhqhBQ45fSgCK4BGAYYCw/s1600/Icon%2BFacebook%2B%25281%2529.png'/>");
theText = theText.replace(/-_-/gi, "<img class='nguyenngocquidz_emoticon' src='https://3.bp.blogspot.com/-MVEq0FztQK0/W41K1q1FD0I/AAAAAAAAFos/CCn0PxHvo780dx2lbiWNGJL2b7zewilhACK4BGAYYCw/s1600/Icon%2BFacebook%2B%25281%2529.png'/>");
theText = theText.replace(/\^\_\^/gi, "<img class='nguyenngocquidz_emoticon' src='https://4.bp.blogspot.com/-bsHUSZhHkFs/W41O2BSoo9I/AAAAAAAAFqo/irEzzeeK9AgIY6zCNmC___ujymF8YZNLwCK4BGAYYCw/s1600/Icon%2BFacebook%2B%25289%2529.png'/>");
theText = theText.replace(/\/=s/gi, "<img class='nguyenngocquidz_emoticon' src='https://4.bp.blogspot.com/-uDHH2tM7zVo/W46HetfNh5I/AAAAAAAAFsE/onSyavowLYwfvLtpFkdf4lrIwvLcqwffgCK4BGAYYCw/s1600/cutne.png'/>");
theText = theText.replace(/\/=ok/gi, "<img class='nguyenngocquidz_emoticon' src='https://4.bp.blogspot.com/-tu6_y6-_QK8/W46JBaMaMbI/AAAAAAAAFtM/RBzyOmCSSTUEvf3q8GSxlJb5ZFViBaJ0QCK4BGAYYCw/s1600/ok.png'/>");
theText = theText.replace(/\/=hi/gi, "<img class='nguyenngocquidz_emoticon' src='https://4.bp.blogspot.com/-jim8DFhJIi4/W46JpKYrjdI/AAAAAAAAFto/mi8JbkC4IlMycv6ubgl16GUyehSyVcivwCK4BGAYYCw/s1600/hello.png'/>");
theText = theText.replace(/\(y\)/gi, "<img class='nguyenngocquidz_emoticon' src='https://3.bp.blogspot.com/-jGEHQbBwXfA/W46JHoycbuI/AAAAAAAAFtU/eDWWNFkFmTUniVJZWxOBSnGZGIZ8eWw1ACK4BGAYYCw/s1600/like.png'/>");
theText = theText.replace(/:p/gi, "<img class='nguyenngocquidz_emoticon' src='https://4.bp.blogspot.com/-oNiKU3Tw6V8/W46GnwKAnYI/AAAAAAAAFrg/n6gUxRUa2QIWicPYuWScINbxv6Z6mtaggCK4BGAYYCw/s1600/leuleu.png'/>");
theText = theText.replace(/\(yy\)/gi, "<img class='nguyenngocquidz_emoticon' src='https://3.bp.blogspot.com/-u_ATCqwW0_E/W46JwDTa_pI/AAAAAAAAFtw/N1e_QmD_R2888UEp60nuVarn09lly4FZACK4BGAYYCw/s1600/ga.png'/>");
theText = theText.replace(/\/=l/gi, "<img class='nguyenngocquidz_emoticon' src='https://2.bp.blogspot.com/-sBfv36LXMgs/W46G2OQVcJI/AAAAAAAAFrs/C9TwxVeOhEA8gDCLwcMA0FX2IoEhIG4ogCK4BGAYYCw/s1600/huhu.png'/>");
theText = theText.replace(/\:\-\)/gi, "<img class='nguyenngocquidz_emoticon' src='https://2.bp.blogspot.com/-EIWH0C9VFxM/W46HRl-j1JI/AAAAAAAAFr8/ELfEAKzWxvEt0o7R1VcYpeDp8QUCPy7MwCK4BGAYYCw/s1600/hihi.png'/>");
theText = theText.replace(/\/=hl/gi, "<img class='nguyenngocquidz_emoticon' src='https://1.bp.blogspot.com/-ynyVIUCdQ4Y/W46I5Jl4ZoI/AAAAAAAAFtA/peQqANSwGOQ72087aAL-71GOXjdtfl1bACK4BGAYYCw/s1600/lozque.png'/>");
theText = theText.replace(/\/=hr/gi, "<img class='nguyenngocquidz_emoticon' src='https://1.bp.blogspot.com/-BB6K0mA_KG4/W46IwtnWenI/AAAAAAAAFs4/zT0bIS9MHTsw4-Py0qsJ6r7gW3RZPO77gCK4BGAYYCw/s1600/lon.png'/>");
theText = theText.replace(/\/=hup/gi, "<img class='nguyenngocquidz_emoticon' src='https://2.bp.blogspot.com/-pK9IyDAxfQw/W46IbWEIRjI/AAAAAAAAFss/7o_ZL81NzRwqGncY_mQwHGwX12N5iDriwCK4BGAYYCw/s1600/ngontay.png'/>");
theText = theText.replace(/\/=hd/gi, "<img class='nguyenngocquidz_emoticon' src='https://2.bp.blogspot.com/-aaAH_3NCrJk/W46IHauktOI/AAAAAAAAFsc/vGYLhYrppVI5uEXyt9vzs1g0rcJdPZR3wCK4BGAYYCw/s1600/cac.png'/>");
theText = theText.replace(/\/=clap/gi, "<img class='nguyenngocquidz_emoticon' src='https://4.bp.blogspot.com/-q2dm7vD117E/W46H82zwGFI/AAAAAAAAFsU/GmgsqDXOP_oi0R6wytQzXP5Ym5L_R_hWQCK4BGAYYCw/s1600/dap-tay.png'/>");
theText = theText.replace(/\/=he/gi, "<img class='nguyenngocquidz_emoticon' src='https://4.bp.blogspot.com/-RaRNX9op_OI/W41Nwn8yMwI/AAAAAAAAFpc/E1-bFNvpiC09LINRgRKgHobLjXSVGKmYgCK4BGAYYCw/s1600/Icon%2BFacebook%2B%25283%2529.png'/>");
bodyText.innerHTML = theText;
}replaceText();
//]]>
</script>
</b:if>
Bấm lưu và xem kết quả...
Vui lòng copy leech về: MeThuThuat.TK
Share:

13 nhận xét: