/*
-----------------------------------------------
# Script : Smiles Blooger Emoticons Y!
# Auth : Baguz Ach http://baguz.tk
# Email : aku@baguz.tk
# Powered by http://eggoez.tk
# E-mail : webmaster@eggoez.tk
# salam hangat, terus berkarya guz...
----------------------------------------------
*/
document.getElementsByClassName=function(clsName){var retVal=new Array();var elements=document.getElementsByTagName("*");for(var i=0;i<elements.length;i++){if(elements[i].className.indexOf(" ")>=0){var classes=elements[i].className.split(" ");for(var j=0;j<classes.length;j++){if(classes[j]==clsName){retVal.push(elements[i])}}}else{if(elements[i].className==clsName){retVal.push(elements[i])}}}return retVal};function addSmiley(){var postBodyClass=(postBodyClass)?postBodyClass:"post-body";var d=document.getElementsByClassName(postBodyClass);for(var i=0;i<d.length;i++){d[i].innerHTML=d[i].innerHTML.replace(/\s:-*\)/g,' <img src="http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/71.gif" style="border:0; margin:0; padding:0;" id="new" /> ');d[i].innerHTML=d[i].innerHTML.replace(/\s;-*\)/g,' <img src="http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/3.gif" style="border:0; margin:0; padding:0;" id="new" /> ');d[i].innerHTML=d[i].innerHTML.replace(/\s:-*\$/g,' <img src="http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/9.gif" style="border:0; margin:0; padding:0;" id="new" /> ');d[i].innerHTML=d[i].innerHTML.replace(/\s:-*\(/g,' <img src="http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/2.gif" style="border:0; margin:0; padding:0;" id="new" /> ');d[i].innerHTML=d[i].innerHTML.replace(/\s:-*D/g,' <img src="http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/4.gif" style="border:0; margin:0; padding:0;" id="new" /> ');d[i].innerHTML=d[i].innerHTML.replace(/\s:-*p/g,' <img src="http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/10.gif" style="border:0; margin:0; padding:0;" id="new" /> ');d[i].innerHTML=d[i].innerHTML.replace(/\s:-*k/g,' <img src="http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/11.gif" style="border:0; margin:0; padding:0;" id="new" /> ');d[i].innerHTML=d[i].innerHTML.replace(/\s:-*\@/g,' <img src="http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/41.gif" style="border:0; margin:0; padding:0;" id="new" /> ');d[i].innerHTML=d[i].innerHTML.replace(/\s:-*\#/g,' <img src="http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/109.gif" style="border:0; margin:0; padding:0;" id="new" /> ');d[i].innerHTML=d[i].innerHTML.replace(/\s:-*x/g,' <img src="http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/111.gif" style="border:0; margin:0; padding:0;" id="new" /> ');d[i].innerHTML=d[i].innerHTML.replace(/\s:-*o/g,' <img src="http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/33.gif" style="border:0; margin:0; padding:0;" id="new" /> ');d[i].innerHTML=d[i].innerHTML.replace(/\s:-*~/g,' <img src="http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/36.gif" style="border:0; margin:0; padding:0;" id="new" /> ');d[i].innerHTML=d[i].innerHTML.replace(/\s:-*L/g,' <img src="http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/8.gif" style="border:0; margin:0; padding:0;" id="new" /> ');d[i].innerHTML=d[i].innerHTML.replace(/\s:-*s/g,' <img src="http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/28.gif" style="border:0; margin:0; padding:0;" id="new" /> ');d[i].innerHTML=d[i].innerHTML.replace(/\s:-*y/g,' <img src="http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/63.gif" style="border:0; margin:0; padding:0;" id="new" /> ');d[i].innerHTML=d[i].innerHTML.replace(/\s:-*t/g,' <img src="http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/39.gif" style="border:0; margin:0; padding:0;" id="new" /> ');d[i].innerHTML=d[i].innerHTML.replace(/\s:-*O/g,' <img src="http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/21.gif" style="border:0; margin:0; padding:0;" id="new" /> ');d[i].innerHTML=d[i].innerHTML.replace(/\s:-*r/g,' <img src="http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/24.gif" style="border:0; margin:0; padding:0;" id="new" /> ');d[i].innerHTML=d[i].innerHTML.replace(/\s:-*v/g,' <img src="http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/40.gif" style="border:0; margin:0; padding:0;" id="new" /> ');d[i].innerHTML=d[i].innerHTML.replace(/\s:-*d/g,' <img src="http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/69.gif" style="border:0; margin:0; padding:0;" id="new" /> ');d[i].innerHTML=d[i].innerHTML.replace(/\s:-*f/g,' <img src="http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/7.gif" style="border:0; margin:0; padding:0;" id="new" /> ');d[i].innerHTML=d[i].innerHTML.replace(/\s:-*c/g,' <img src="http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/65.gif" style="border:0; margin:0; padding:0;" id="new" /> ');d[i].innerHTML=d[i].innerHTML.replace(/\s:-*z/g,' <img src="http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/68.gif" style="border:0; margin:0; padding:0;" id="new" /> ')}var d=document.getElementsByClassName("comment-body");for(var i=0;i<d.length;i++){d[i].innerHTML=d[i].innerHTML.replace(/\s:-*\)/g,' <img src="http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/71.gif" style="border:0; margin:0; padding:0;" id="new" /> ');d[i].innerHTML=d[i].innerHTML.replace(/\s;-*\)/g,' <img src="http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/3.gif" style="border:0; margin:0; padding:0;" id="new" /> ');d[i].innerHTML=d[i].innerHTML.replace(/\s:-*\$/g,' <img src="http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/9.gif" style="border:0; margin:0; padding:0;" id="new" /> ');d[i].innerHTML=d[i].innerHTML.replace(/\s:-*\(/g,' <img src="http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/2.gif" style="border:0; margin:0; padding:0;" id="new" /> ');d[i].innerHTML=d[i].innerHTML.replace(/\s:-*D/g,' <img src="http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/4.gif" style="border:0; margin:0; padding:0;" id="new" /> ');d[i].innerHTML=d[i].innerHTML.replace(/\s:-*p/g,' <img src="http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/10.gif" style="border:0; margin:0; padding:0;" id="new" /> ');d[i].innerHTML=d[i].innerHTML.replace(/\s:-*k/g,' <img src="http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/11.gif" style="border:0; margin:0; padding:0;" id="new" /> ');d[i].innerHTML=d[i].innerHTML.replace(/\s:-*\@/g,' <img src="http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/41.gif" style="border:0; margin:0; padding:0;" id="new" /> ');d[i].innerHTML=d[i].innerHTML.replace(/\s:-*\#/g,' <img src="http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/109.gif" style="border:0; margin:0; padding:0;" id="new" /> ');d[i].innerHTML=d[i].innerHTML.replace(/\s:-*x/g,' <img src="http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/111.gif" style="border:0; margin:0; padding:0;" id="new" /> ');d[i].innerHTML=d[i].innerHTML.replace(/\s:-*o/g,' <img src="http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/33.gif" style="border:0; margin:0; padding:0;" id="new" /> ');d[i].innerHTML=d[i].innerHTML.replace(/\s:-*~/g,' <img src="http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/36.gif" style="border:0; margin:0; padding:0;" id="new" /> ');d[i].innerHTML=d[i].innerHTML.replace(/\s:-*L/g,' <img src="http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/8.gif" style="border:0; margin:0; padding:0;" id="new" /> ');d[i].innerHTML=d[i].innerHTML.replace(/\s:-*s/g,' <img src="http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/28.gif" style="border:0; margin:0; padding:0;" id="new" /> ');d[i].innerHTML=d[i].innerHTML.replace(/\s:-*y/g,' <img src="http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/63.gif" style="border:0; margin:0; padding:0;" id="new" /> ');d[i].innerHTML=d[i].innerHTML.replace(/\s:-*t/g,' <img src="http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/39.gif" style="border:0; margin:0; padding:0;" id="new" /> ');d[i].innerHTML=d[i].innerHTML.replace(/\s:-*O/g,' <img src="http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/21.gif" style="border:0; margin:0; padding:0;" id="new" /> ');d[i].innerHTML=d[i].innerHTML.replace(/\s:-*r/g,' <img src="http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/24.gif" style="border:0; margin:0; padding:0;" id="new" /> ');d[i].innerHTML=d[i].innerHTML.replace(/\s:-*v/g,' <img src="http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/40.gif" style="border:0; margin:0; padding:0;" id="new" /> ');d[i].innerHTML=d[i].innerHTML.replace(/\s:-*d/g,' <img src="http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/69.gif" style="border:0; margin:0; padding:0;" id="new" /> ');d[i].innerHTML=d[i].innerHTML.replace(/\s:-*f/g,' <img src="http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/7.gif" style="border:0; margin:0; padding:0;" id="new" /> ');d[i].innerHTML=d[i].innerHTML.replace(/\s:-*c/g,' <img src="http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/65.gif" style="border:0; margin:0; padding:0;" id="new" /> ');d[i].innerHTML=d[i].innerHTML.replace(/\s:-*z/g,' <img src="http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/68.gif" style="border:0; margin:0; padding:0;" id="new" /> ')}var d=document.getElementsByClassName("comment-body-author");for(var i=0;i<d.length;i++){d[i].innerHTML=d[i].innerHTML.replace(/\s:-*\)/g,' <img src="http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/71.gif" style="border:0; margin:0; padding:0;" id="new" /> ');d[i].innerHTML=d[i].innerHTML.replace(/\s;-*\)/g,' <img src="http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/3.gif" style="border:0; margin:0; padding:0;" id="new" /> ');d[i].innerHTML=d[i].innerHTML.replace(/\s:-*\$/g,' <img src="http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/9.gif" style="border:0; margin:0; padding:0;" id="new" /> ');d[i].innerHTML=d[i].innerHTML.replace(/\s:-*\(/g,' <img src="http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/2.gif" style="border:0; margin:0; padding:0;" id="new" /> ');d[i].innerHTML=d[i].innerHTML.replace(/\s:-*D/g,' <img src="http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/4.gif" style="border:0; margin:0; padding:0;" id="new" /> ');d[i].innerHTML=d[i].innerHTML.replace(/\s:-*p/g,' <img src="http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/10.gif" style="border:0; margin:0; padding:0;" id="new" /> ');d[i].innerHTML=d[i].innerHTML.replace(/\s:-*k/g,' <img src="http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/11.gif" style="border:0; margin:0; padding:0;" id="new" /> ');d[i].innerHTML=d[i].innerHTML.replace(/\s:-*\@/g,' <img src="http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/41.gif" style="border:0; margin:0; padding:0;" id="new" /> ');d[i].innerHTML=d[i].innerHTML.replace(/\s:-*\#/g,' <img src="http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/109.gif" style="border:0; margin:0; padding:0;" id="new" /> ');d[i].innerHTML=d[i].innerHTML.replace(/\s:-*x/g,' <img src="http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/111.gif" style="border:0; margin:0; padding:0;" id="new" /> ');d[i].innerHTML=d[i].innerHTML.replace(/\s:-*o/g,' <img src="http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/33.gif" style="border:0; margin:0; padding:0;" id="new" /> ');d[i].innerHTML=d[i].innerHTML.replace(/\s:-*~/g,' <img src="http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/36.gif" style="border:0; margin:0; padding:0;" id="new" /> ');d[i].innerHTML=d[i].innerHTML.replace(/\s:-*L/g,' <img src="http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/8.gif" style="border:0; margin:0; padding:0;" id="new" /> ');d[i].innerHTML=d[i].innerHTML.replace(/\s:-*s/g,' <img src="http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/28.gif" style="border:0; margin:0; padding:0;" id="new" /> ');d[i].innerHTML=d[i].innerHTML.replace(/\s:-*y/g,' <img src="http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/63.gif" style="border:0; margin:0; padding:0;" id="new" /> ');d[i].innerHTML=d[i].innerHTML.replace(/\s:-*t/g,' <img src="http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/39.gif" style="border:0; margin:0; padding:0;" id="new" /> ');d[i].innerHTML=d[i].innerHTML.replace(/\s:-*O/g,' <img src="http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/21.gif" style="border:0; margin:0; padding:0;" id="new" /> ');d[i].innerHTML=d[i].innerHTML.replace(/\s:-*r/g,' <img src="http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/24.gif" style="border:0; margin:0; padding:0;" id="new" /> ');d[i].innerHTML=d[i].innerHTML.replace(/\s:-*v/g,' <img src="http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/40.gif" style="border:0; margin:0; padding:0;" id="new" /> ');d[i].innerHTML=d[i].innerHTML.replace(/\s:-*d/g,' <img src="http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/69.gif" style="border:0; margin:0; padding:0;" id="new" /> ');d[i].innerHTML=d[i].innerHTML.replace(/\s:-*f/g,' <img src="http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/7.gif" style="border:0; margin:0; padding:0;" id="new" /> ');d[i].innerHTML=d[i].innerHTML.replace(/\s:-*c/g,' <img src="http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/65.gif" style="border:0; margin:0; padding:0;" id="new" /> ');d[i].innerHTML=d[i].innerHTML.replace(/\s:-*z/g,' <img src="http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/68.gif" style="border:0; margin:0; padding:0;" id="new" /> ')}}function addLoadEvent(func){var oldonload=window.onload;if(typeof window.onload!="function"){window.onload=func}else{window.onload=function(){oldonload();func()}}}addLoadEvent(addSmiley);
Sunday, August 28, 2011
post smile.js
Labels:
JavaScripts
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment