Online PHP and Javascript Decoder decode hidden script to uncover its real functionality


Show other level

var numComments=numComments||5,avatarSize=avatarSize||60,characters=characters||40,defaultAvatar=defaultAvatar||"http://uongjowo.gravatar.com/avatar/?d=mm",moreLinktext=moreLinktext||" More »
",showAvatar=(typeof showAvatar==='undefined')?true:showAvatar,showMorelink=(typeof showMorelink==='undefined')?false:showMorelink,roundAvatar=(typeof roundAvatar==='undefined')?true:roundAvatar,showComnts=(typeof showComnts==='undefined')?false:roundAvatar;
function recentComments(Uj)
	{
	var commentsHtml;
	commentsHtml='<ul class="recentComments">';
	for(var i=0;
	i<numComments;
	i++)
		{
		var commentlink,authorName,authorAvatar,avatarClass;
		if(i==Uj.feed.entry.length)break;
		commentsHtml+="<li>";
		var entry=Uj.feed.entry[i];
		for(var l=0;
		l<entry.link.length;
		l++)
			{
			if(entry.link[l].rel=='alternate')
				{
				commentlink=entry.link[l].href
			}
		}
		for(var a=0;
		a<entry.author.length;
		a++)
			{
			authorName=entry.author[a].name.$t;
			authorAvatar=entry.author[a].gd$image.src
		}
		if(authorAvatar.indexOf("/s1600/")!=-1)
			{
			authorAvatar=authorAvatar.replace("/s1600/","/s"+avatarSize+"-c/")
		}
		else if(authorAvatar.indexOf("/s220/")!=-1)
			{
			authorAvatar=authorAvatar.replace("/s220/","/s"+avatarSize+"-c/")
		}
		else if(authorAvatar.indexOf("/s512-c/")!=-1&&authorAvatar.indexOf("http:")!=0)
			{
			authorAvatar="http:"+authorAvatar.replace("/s512-c/","/s"+avatarSize+"-c/")
		}
		else if(authorAvatar.indexOf("blogblog.com/img/b16-rounded.gif")!=-1)
			{
			authorAvatar="http://3.bp.blogspot.com/-AaI8-1X32ZM/TxMKLVzQ5BI/AAAAAAAABYY/QYau8ov2blE/s"+avatarSize+"/Uj_blogger_logo.png"
		}
		else if(authorAvatar.indexOf("blogblog.com/img/openid16-rounded.gif")!=-1)
			{
			authorAvatar="http://3.bp.blogspot.com/-9lSeVyNRKx0/TxMKMIqMNuI/AAAAAAAABYc/8iasY0xpLzc/s"+avatarSize+"/Uj_openid_logo.png"
		}
		else if(authorAvatar.indexOf("blogblog.com/img/blank.gif")!=-1)
			{
			if(defaultAvatar.indexOf("gravatar.com")!=-1)
				{
				authorAvatar=defaultAvatar+"&s="+avatarSize
			}
			else
				{
				authorAvatar=defaultAvatar
			}
		}
		else
			{
			authorAvatar=authorAvatar
		}
		if(showAvatar==true)
			{
			if(roundAvatar==true)
				{
				avatarClass="avatarRound"
			}
			else
				{
				avatarClass=""
			}
			commentsHtml+="<div class=\"avatarImage "+avatarClass+"\"><img class=\""+avatarClass+"\" src=\""+authorAvatar+"\" alt=\""+authorName+"\" width=\""+avatarSize+"\" height=\""+avatarSize+"\"/></div>"
		}
		commentsHtml+="<a href=\""+commentlink+"\">"+authorName+"</a>";
		var commHTML=entry.content.$t;
		var commBody=commHTML.replace(/(<([^>]+)>)/ig,"");
		if(commBody!=""&&commBody.length>characters)
			{
			commBody=commBody.substring(0,characters);
			commBody+="&hellip;
			";
			if(showMorelink==true)
				{
				commBody+="<a href=\""+commentlink+"\">"+moreLinktext+"</a>"
			}
		}
		else
			{
			commBody=commBody
		}
		commentsHtml+="<span>"+commBody+"</span>";
		commentsHtml+="</li>"
	}
	commentsHtml+='</ul>';
	var hideCSS="";
	if(showComnts==true)
		{
		hideCSS="display:none;
		"
	}
	commentsHtml+="<span style=\"font-size:10px;
	display:block;
	text-align:center;
	"+hideCSS+"\">Widget by-<a href=\"http://uongjowo.blogspot.com/\">bIogger</a></span>";
	document.write(commentsHtml)
}


var numComments=numComments||5,avatarSize=avatarSize||60,characters=characters||40,defaultAvatar=defaultAvatar||"http://uongjowo.gravatar.com/avatar/?d=mm",moreLinktext=moreLinktext||" More &raquo;
",showAvatar=(typeof showAvatar==='undefined')?true:showAvatar,showMorelink=(typeof showMorelink==='undefined')?false:showMorelink,roundAvatar=(typeof roundAvatar==='undefined')?true:roundAvatar,showComnts=(typeof showComnts==='undefined')?false:roundAvatar;
function recentComments(Uj)
	{
	var commentsHtml;
	commentsHtml='<ul class="recentComments">';
	for(var i=0;
	i<numComments;
	i++)
		{
		var commentlink,authorName,authorAvatar,avatarClass;
		if(i==Uj.feed.entry.length)break;
		commentsHtml+="<li>";
		var entry=Uj.feed.entry[i];
		for(var l=0;
		l<entry.link.length;
		l++)
			{
			if(entry.link[l].rel=='alternate')
				{
				commentlink=entry.link[l].href
			}
		}
		for(var a=0;
		a<entry.author.length;
		a++)
			{
			authorName=entry.author[a].name.$t;
			authorAvatar=entry.author[a].gd$image.src
		}
		if(authorAvatar.indexOf("/s1600/")!=-1)
			{
			authorAvatar=authorAvatar.replace("/s1600/","/s"+avatarSize+"-c/")
		}
		else if(authorAvatar.indexOf("/s220/")!=-1)
			{
			authorAvatar=authorAvatar.replace("/s220/","/s"+avatarSize+"-c/")
		}
		else if(authorAvatar.indexOf("/s512-c/")!=-1&&authorAvatar.indexOf("http:")!=0)
			{
			authorAvatar="http:"+authorAvatar.replace("/s512-c/","/s"+avatarSize+"-c/")
		}
		else if(authorAvatar.indexOf("blogblog.com/img/b16-rounded.gif")!=-1)
			{
			authorAvatar="http://3.bp.blogspot.com/-AaI8-1X32ZM/TxMKLVzQ5BI/AAAAAAAABYY/QYau8ov2blE/s"+avatarSize+"/Uj_blogger_logo.png"
		}
		else if(authorAvatar.indexOf("blogblog.com/img/openid16-rounded.gif")!=-1)
			{
			authorAvatar="http://3.bp.blogspot.com/-9lSeVyNRKx0/TxMKMIqMNuI/AAAAAAAABYc/8iasY0xpLzc/s"+avatarSize+"/Uj_openid_logo.png"
		}
		else if(authorAvatar.indexOf("blogblog.com/img/blank.gif")!=-1)
			{
			if(defaultAvatar.indexOf("gravatar.com")!=-1)
				{
				authorAvatar=defaultAvatar+"&s="+avatarSize
			}
			else
				{
				authorAvatar=defaultAvatar
			}
		}
		else
			{
			authorAvatar=authorAvatar
		}
		if(showAvatar==true)
			{
			if(roundAvatar==true)
				{
				avatarClass="avatarRound"
			}
			else
				{
				avatarClass=""
			}
			commentsHtml+="<div class=\"avatarImage "+avatarClass+"\"><img class=\""+avatarClass+"\" src=\""+authorAvatar+"\" alt=\""+authorName+"\" width=\""+avatarSize+"\" height=\""+avatarSize+"\"/></div>"
		}
		commentsHtml+="<a href=\""+commentlink+"\">"+authorName+"</a>";
		var commHTML=entry.content.$t;
		var commBody=commHTML.replace(/(<([^>]+)>)/ig,"");
		if(commBody!=""&&commBody.length>characters)
			{
			commBody=commBody.substring(0,characters);
			commBody+="&hellip;
			";
			if(showMorelink==true)
				{
				commBody+="<a href=\""+commentlink+"\">"+moreLinktext+"</a>"
			}
		}
		else
			{
			commBody=commBody
		}
		commentsHtml+="<span>"+commBody+"</span>";
		commentsHtml+="</li>"
	}
	commentsHtml+='</ul>';
	var hideCSS="";
	if(showComnts==true)
		{
		hideCSS="display:none;
		"
	}
	commentsHtml+="<span style=\"font-size:10px;
	display:block;
	text-align:center;
	"+hideCSS+"\">Widget by-<a href=\"http://uongjowo.blogspot.com/\">bIogger</a></span>";
	commentsHtml
}




© 2021 Quttera Ltd. All rights reserved.