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


Show other level

var _0x2e86=["userAgent","test","#sidebar","querySelector","scroll","addEventListener","body","getBoundingClientRect","bottom","#content","","length","overflow","indexOf","padding","border","outline","box-shadow","background",": ","getPropertyValue",";
 ","div","createElement","className","stop","cssText","style"," box-sizing: border-box;
 width: ","offsetWidth","px;
","firstChild","insertBefore","childNodes","appendChild","height","px","0","top","clientHeight","documentElement","round","sticky","resize","width","children"];
	if(!/Android|webOS|iPhone|iPad|iPod|BlackBerry|BB|PlayBook|IEMobile|Windows Phone|Kindle|Silk|Opera Mini/i[_0x2e86[1]](navigator[_0x2e86[0]])){
	var a=document[_0x2e86[3]](_0x2e86[2]),b=null,K=null,Z=0,P=40,N=40;
	window[_0x2e86[5]](_0x2e86[4],Ascroll,false);
	document[_0x2e86[6]][_0x2e86[5]](_0x2e86[4],Ascroll,false);
		function Ascroll(){
		var _0x332cx8=a[_0x2e86[7]](),_0x332cx9=document[_0x2e86[3]](_0x2e86[9])[_0x2e86[7]]()[_0x2e86[8]];
			if(_0x332cx8[_0x2e86[8]]< _0x332cx9){
				if(b== null){
				var _0x332cxa=getComputedStyle(a,_0x2e86[10]),_0x332cxb=_0x2e86[10];
				for(var _0x332cxc=0;
				_0x332cxc< _0x332cxa[_0x2e86[11]];
					_0x332cxc++){
						if(_0x332cxa[_0x332cxc][_0x2e86[13]](_0x2e86[12])== 0|| _0x332cxa[_0x332cxc][_0x2e86[13]](_0x2e86[14])== 0|| _0x332cxa[_0x332cxc][_0x2e86[13]](_0x2e86[15])== 0|| _0x332cxa[_0x332cxc][_0x2e86[13]](_0x2e86[16])== 0|| _0x332cxa[_0x332cxc][_0x2e86[13]](_0x2e86[17])== 0|| _0x332cxa[_0x332cxc][_0x2e86[13]](_0x2e86[18])== 0){
						_0x332cxb+= _0x332cxa[_0x332cxc]+ _0x2e86[19]+ _0x332cxa[_0x2e86[20]](_0x332cxa[_0x332cxc])+ _0x2e86[21]
					}
				};
				b= document[_0x2e86[23]](_0x2e86[22]);
				b[_0x2e86[24]]= _0x2e86[25];
				b[_0x2e86[27]][_0x2e86[26]]= _0x332cxb+ _0x2e86[28]+ a[_0x2e86[29]]+ _0x2e86[30];
				a[_0x2e86[32]](b,a[_0x2e86[31]]);
				var _0x332cxd=a[_0x2e86[33]][_0x2e86[11]];
				for(var _0x332cxc=1;
				_0x332cxc< _0x332cxd;
					_0x332cxc++){
					b[_0x2e86[34]](a[_0x2e86[33]][1])
				};
				a[_0x2e86[27]][_0x2e86[35]]= b[_0x2e86[7]]()[_0x2e86[35]]+ _0x2e86[36];
				a[_0x2e86[27]][_0x2e86[14]]= _0x2e86[37];
				a[_0x2e86[27]][_0x2e86[15]]= _0x2e86[37]
			};
			var _0x332cxe=b[_0x2e86[7]](),_0x332cxf=_0x332cx8[_0x2e86[38]]+ _0x332cxe[_0x2e86[35]],_0x332cx10=document[_0x2e86[40]][_0x2e86[39]],_0x332cx11=Math[_0x2e86[41]](_0x332cxf- _0x332cx9),_0x332cx12=Math[_0x2e86[41]](_0x332cxf- _0x332cx10);
				if(_0x332cxe[_0x2e86[35]]> _0x332cx10){
					if(_0x332cx8[_0x2e86[38]]< K){
						if(_0x332cx12+ N> _0x332cx11){
							if(_0x332cxe[_0x2e86[8]]- _0x332cx10+ N- 1<= 0){
							b[_0x2e86[24]]= _0x2e86[42];
							b[_0x2e86[27]][_0x2e86[38]]= _0x332cx10- _0x332cxe[_0x2e86[35]]- N+ _0x2e86[36];
							Z= N+ _0x332cx8[_0x2e86[38]]+ _0x332cxe[_0x2e86[35]]- _0x332cx10
						}
							else {
							b[_0x2e86[24]]= _0x2e86[25];
							b[_0x2e86[27]][_0x2e86[38]]= -Z+ _0x2e86[36]
						}
					}
						else {
						b[_0x2e86[24]]= _0x2e86[25];
						b[_0x2e86[27]][_0x2e86[38]]= -_0x332cx11+ _0x2e86[36];
						Z= _0x332cx11
					}
				}
					else {
						if(_0x332cx8[_0x2e86[38]]- P< 0){
							if(_0x332cxe[_0x2e86[38]]- P+ 1>= 0){
							b[_0x2e86[24]]= _0x2e86[42];
							b[_0x2e86[27]][_0x2e86[38]]= P+ _0x2e86[36];
							Z= _0x332cx8[_0x2e86[38]]- P
						}
							else {
							b[_0x2e86[24]]= _0x2e86[25];
							b[_0x2e86[27]][_0x2e86[38]]= -Z+ _0x2e86[36]
						}
					}
						else {
						b[_0x2e86[24]]= _0x2e86[10];
						b[_0x2e86[27]][_0x2e86[38]]= _0x2e86[10];
						Z= 0
					}
				};
				K= _0x332cx8[_0x2e86[38]]
			}
				else {
					if((_0x332cx8[_0x2e86[38]]- P)<= 0){
						if((_0x332cx8[_0x2e86[38]]- P)<= _0x332cx11){
						b[_0x2e86[24]]= _0x2e86[25];
						b[_0x2e86[27]][_0x2e86[38]]= -_0x332cx11+ _0x2e86[36]
					}
						else {
						b[_0x2e86[24]]= _0x2e86[42];
						b[_0x2e86[27]][_0x2e86[38]]= P+ _0x2e86[36]
					}
				}
					else {
					b[_0x2e86[24]]= _0x2e86[10];
					b[_0x2e86[27]][_0x2e86[38]]= _0x2e86[10]
				}
			};
				window[_0x2e86[5]](_0x2e86[43],function(){
				a[_0x2e86[45]][0][_0x2e86[27]][_0x2e86[44]]= getComputedStyle(a,_0x2e86[10])[_0x2e86[44]]
			}
			,false)
		}
	}
}

	if(!/Android|webOS|iPhone|iPad|iPod|BlackBerry|BB|PlayBook|IEMobile|Windows Phone|Kindle|Silk|Opera Mini/i["test"](navigator["userAgent"])){
	var a=document["querySelector"]("#sidebar"),b=null,K=null,Z=0,P=40,N=40;
	window["addEventListener"]("scroll",Ascroll,false);
	document["body"]["addEventListener"]("scroll",Ascroll,false);
		function Ascroll(){
		var _0x332cx8=a["getBoundingClientRect"](),_0x332cx9=document["querySelector"]("#content")["getBoundingClientRect"]()["bottom"];
			if(_0x332cx8["bottom"]< _0x332cx9){
				if(b== null){
				var _0x332cxa=getComputedStyle(a,""),_0x332cxb="";
				for(var _0x332cxc=0;
				_0x332cxc< _0x332cxa["length"];
					_0x332cxc++){
						if(_0x332cxa[_0x332cxc]["indexOf"]("overflow")== 0|| _0x332cxa[_0x332cxc]["indexOf"]("padding")== 0|| _0x332cxa[_0x332cxc]["indexOf"]("border")== 0|| _0x332cxa[_0x332cxc]["indexOf"]("outline")== 0|| _0x332cxa[_0x332cxc]["indexOf"]("box-shadow")== 0|| _0x332cxa[_0x332cxc]["indexOf"]("background")== 0){
						_0x332cxb+= _0x332cxa[_0x332cxc]+ ": "+ _0x332cxa["getPropertyValue"](_0x332cxa[_0x332cxc])+ ";
						 "
					}
				};
				b= document["createElement"]("div");
				b["className"]= "stop";
				b["style"]["cssText"]= _0x332cxb+ " box-sizing: border-box;
				 width: "+ a["offsetWidth"]+ "px;
				";
				a["insertBefore"](b,a["firstChild"]);
				var _0x332cxd=a["childNodes"]["length"];
				for(var _0x332cxc=1;
				_0x332cxc< _0x332cxd;
					_0x332cxc++){
					b["appendChild"](a["childNodes"][1])
				};
				a["style"]["height"]= b["getBoundingClientRect"]()["height"]+ "px";
				a["style"]["padding"]= "0";
				a["style"]["border"]= "0"
			};
			var _0x332cxe=b["getBoundingClientRect"](),_0x332cxf=_0x332cx8["top"]+ _0x332cxe["height"],_0x332cx10=document["documentElement"]["clientHeight"],_0x332cx11=Math["round"](_0x332cxf- _0x332cx9),_0x332cx12=Math["round"](_0x332cxf- _0x332cx10);
				if(_0x332cxe["height"]> _0x332cx10){
					if(_0x332cx8["top"]< K){
						if(_0x332cx12+ N> _0x332cx11){
							if(_0x332cxe["bottom"]- _0x332cx10+ N- 1<= 0){
							b["className"]= "sticky";
							b["style"]["top"]= _0x332cx10- _0x332cxe["height"]- N+ "px";
							Z= N+ _0x332cx8["top"]+ _0x332cxe["height"]- _0x332cx10
						}
							else {
							b["className"]= "stop";
							b["style"]["top"]= -Z+ "px"
						}
					}
						else {
						b["className"]= "stop";
						b["style"]["top"]= -_0x332cx11+ "px";
						Z= _0x332cx11
					}
				}
					else {
						if(_0x332cx8["top"]- P< 0){
							if(_0x332cxe["top"]- P+ 1>= 0){
							b["className"]= "sticky";
							b["style"]["top"]= P+ "px";
							Z= _0x332cx8["top"]- P
						}
							else {
							b["className"]= "stop";
							b["style"]["top"]= -Z+ "px"
						}
					}
						else {
						b["className"]= "";
						b["style"]["top"]= "";
						Z= 0
					}
				};
				K= _0x332cx8["top"]
			}
				else {
					if((_0x332cx8["top"]- P)<= 0){
						if((_0x332cx8["top"]- P)<= _0x332cx11){
						b["className"]= "stop";
						b["style"]["top"]= -_0x332cx11+ "px"
					}
						else {
						b["className"]= "sticky";
						b["style"]["top"]= P+ "px"
					}
				}
					else {
					b["className"]= "";
					b["style"]["top"]= ""
				}
			};
				window["addEventListener"]("resize",function(){
				a["children""][0]["style"]["width"]= getComputedStyle(a,"")["width"]
			}
			,false)
		}
	}
}



© 2023 Quttera Ltd. All rights reserved.