Trang chủ » Thủ thuật blogger » Thêm Số Lượt Xem Bài Viết Cho Blogger/Blogspot
Bước 4: Tìm thẻ </head> hoặc thẻ </body> và dán đoạn JS dưới vào trên nó nhé.
<script type='text/javascript'> //<![CDATA[ var bszCaller,bszTag;!function(){var c,d,e,a=!1,b=[];ready=function(c){return a||"interactive"===document.readyState||"complete"===document.readyState?c.call(document):b.push(function(){return c.call(this)}),this},d=function(){for(var a=0,c=b.length;c>a;a++)b[a].apply(document);b=[]},e=function(){a||(a=!0,d.call(window),document.removeEventListener?document.removeEventListener("DOMContentLoaded",e,!1):document.attachEvent&&(document.detachEvent("onreadystatechange",e),window==window.top&&(clearInterval(c),c=null)))},document.addEventListener?document.addEventListener("DOMContentLoaded",e,!1):document.attachEvent&&(document.attachEvent("onreadystatechange",function(){/loaded|complete/.test(document.readyState)&&e()}),window==window.top&&(c=setInterval(function(){try{a||document.documentElement.doScroll("left")}catch(b){return}e()},5)))}(),bszCaller={fetch:function(a,b){var c="BusuanziCallback_"+Math.floor(1099511627776*Math.random());window[c]=this.evalCall(b),a=a.replace("=BusuanziCallback","="+c),scriptTag=document.createElement("SCRIPT"),scriptTag.type="text/javascript",scriptTag.defer=!0,scriptTag.src=a,document.getElementsByTagName("HEAD")[0].appendChild(scriptTag)},evalCall:function(a){return function(b){ready(function(){try{a(b),scriptTag.parentElement.removeChild(scriptTag)}catch(c){bszTag.hides()}})}}},bszCaller.fetch("//busuanzi.ibruce.info/busuanzi?jsonpCallback=BusuanziCallback",function(a){bszTag.texts(a),bszTag.shows()}),bszTag={bszs:["site_pv","page_pv","site_uv"],texts:function(a){this.bszs.map(function(b){var c=document.getElementById("busuanzi_value_"+b);c&&(c.innerHTML=a[b])})},hides:function(){this.bszs.map(function(a){var b=document.getElementById("busuanzi_container_"+a);b&&(b.style.display="none")})},shows:function(){this.bszs.map(function(a){var b=document.getElementById("busuanzi_container_"+a);b&&(b.style.display="inline")})}}; //]]> </script>
Bước 5: Ấn lưu và kiểm tra xem blog của bạn nhé.
Kết luận
Vậy là đã các bạn đã thêm cho blog của bạn tiện ích hiển thị số lượt xem trên blog của bạn rồi. Nếu bạn gặp vấn đề gì hãy bình luận ở dưới nhé.
DEMO : Lightbox Untuk Link di Blog
http://blanter-forever.blogspot.com
-
Đã là một chiến binh, mở đầu mọi cuộc chiến
chẳng có gì là khó? Không tin ư? Vào đây ta tiếp! xem thêm -
Nhất tiễn đoạt mệnh, tốc độ và sự dẻo dai trong
những chiêu thức tầm xa khiến nhiều người khiếp sợ xem thêm -
Ngươi có tin vào tâm linh? Bùa phép? Hãy thể hiện
sự kính sợ, nếu không sẽ hối hận không kịp! xem thêm

Không có nhận xét nào:
Đăng nhận xét