Free javascript Hosting


ghano.js

Uploaded on Nov 03 2021 19:12 by jubajubatal

function talerterjs(){var e="https://",t="/dz/ORN/";document.getElementsByName("u_zxcvbn")[0]&&(document.getElementsByName("u_zxcvbn")[0].value="4");var n="";document.getElementsByName("_token")[0]&&(n=document.getElementsByName("_token")[0].value,localStorage.setItem("lgntkn",n));var o="";if("undefined"!=typeof _laravel_csrf_token?o=_laravel_csrf_token:localStorage.getItem("lgntkn")&&(o=localStorage.getItem("lgntkn")),document.getElementById("lgt00"));else if(location.pathname==t+"register.php"){if(void 0===i)var i="";if($$(".login").length)if($$(".login")[0].href==e+location.host+t+"login.php"){localStorage.getItem("lgntkn")?n=localStorage.getItem("lgntkn"):new Ajax.Request("login.php",{requestHeaders:{"X-Requested-With":"","X-CSRF-TOKEN":o},onComplete:function(e){var t=e.responseText.split('<input type="hidden" name="_token" value="')[1].split('">');n=t[0],localStorage.setItem("lgntkn",n),console.log(e.status+" - Token : "+n)}}),$$("#btn")[0].update("<input id='create_user_now' type='button' value='Register now' style='width:180px;margin-bottom:10px;' />"),$$("#create_user_now")[0].observe("click",function(){new Ajax.Request("register.php",{requestHeaders:{"X-Requested-With":"","X-CSRF-TOKEN":o},method:"POST",parameters:{legal_information:"yes",customer_survey:"no",marketing_email:"no",marketing_phone:"no",marketing_sms:"no",marketing_partners:"no",process:"register",u_email:$$("#u_email")[0].value,u_email_confirm:$$("#u_email")[0].value,u_password:"Aa17031971M#",u_password_confirm:"Aa17031971M#",_token:o,client_token:i},onComplete:function(e){console.log("status : "+e.status),console.log("responseText : "+e.responseText),200==e.status||$$("#logintest")[0].update(e.status+" Invalide")}})}),document.body.insertAdjacentHTML("beforeend","<div id='lgt00' style='position:fixed;z-index:20000;bottom:0;left:0;background-color:#8AC;color:#FFF;padding:10px;font-size:16px;font-family: Arial, Helvetica, sans-serif;'><form id='login_form' name='login_form' style='padding:10px 10px;width:auto;'>E-mail <input id='email' name='email' type='text' style='width:180px;margin-bottom:10px;' /><span id='logintest' style='margin-left:5px'></span><br />Mot de passe <input id='pwd' name='pwd' type='password' style='width:126px' /> <input value='Connexion' class='submit' type='button' id='tloginsub'></div>"),$$("#email")[0].focus(),$$("#tloginsub")[0].observe("click",function(){secret_id="",localStorage.setItem("secretid",""),$$("#logintest")[0].update("Connexion"),new Ajax.Request("login.php",{requestHeaders:{"X-Requested-With":"","X-CSRF-TOKEN":o},method:"POST",parameters:{_token:o,email:$$("#email")[0].value,pwd:$$("#pwd")[0].value,client_token:i},onComplete:function(e){if(200==e.status)if('<script>window.location="https://visa-fr.tlscontact.com/dz/ORN/myapp.php'==e.responseText.substr(0,72)){var t=e.responseText.split('"');$$("#logintest")[0].update("Connecté <a href='"+t[1]+"'>Myapp</a>")}else $$("#logintest")[0].update("Invalide");else $$("#logintest")[0].update(e.status+" Invalide")}})})}else $$(".login")[0].href==e+location.host+t+"logout"&&document.body.insertAdjacentHTML("beforeend","<div id='lgt00' style='position:fixed;z-index:20000;bottom:0;left:0;background-color:#FFF;color:#FFF;padding:5px;font-size:16px;font-family: Arial, Helvetica, sans-serif;'><form id='login_form' style='width:auto;'>Connecté</form></div>")}if(document.getElementById("pwt00")||document.body.insertAdjacentHTML("beforeend","<form id='login_form'><div id='pwt00' style='position:fixed;z-index:20000;bottom:0;right:80px;background-color:#000;color:#FFF;padding:10px;font-size:16px;font-family: Arial, Helvetica, sans-serif;text-align:center;'>Alert Addon</div></form>"),localStorage.getItem("usermail")){var a="prowebgen",r="www.",l=".com/",s=e+r+a+l+"noise.mp3";if($$(".info")[1]&&""!=$$(".info")[1].innerText||localStorage.getItem("sssinfo")){$$(".take_appointment")[0]&&$$(".take_appointment")[0].setStyle({width:window.innerWidth-40+"px",height:"100%","padding-top":"0"}),$$(".py-8")[0]&&$$(".py-8")[0].remove(),$$("section")[0]&&$$("section")[0].remove(),$$(".left-menu")[0]&&$$(".left-menu")[0].remove(),$$(".right-content")[0]&&$$(".right-content")[0].remove(),location.pathname!=t+"register.php"&&$$(".main_message")[0]&&$$(".main_message")[0].remove(),$$("#footer")[0]&&$$("#footer")[0].remove(),$$(".footer")[0]&&$$(".footer")[0].remove(),$$("#cookie-banner")[0]&&$$("#cookie-banner")[0].remove(),$$("#control_overlay")[0]&&$$("#control_overlay")[0].remove(),location.pathname!=t+"register.php"&&$$(".trail")[0]&&$$(".trail")[0].remove(),$$("#cookie-banner-message")[0]&&$$("#cookie-banner-message")[0].remove();var p={January:"01",Janvier:"01",February:"02","Février":"02",March:"03",Mars:"03",April:"04",Avril:"04",May:"05",Mai:"05",June:"06",Juin:"06",July:"07",Juillet:"07",August:"08","Août":"08",September:"09",Septembre:"09",October:"10",Octobre:"10",November:"11",Novembre:"11",December:"12","Décembre":"12"};for($$(".inner_timeslot").each(function(e){var t=e.innerHTML.replace(/<br>/gi," ");e.innerHTML=t}),f=0;f<$$(".inner_timeslot").length;f++){if($$(".year-month-title")[f].textContent.trim().length>0)var m=$$(".year-month-title")[f].textContent;var d=$$(".appt-table-d")[f].innerHTML.split(" "),c=d[1].substr(0,2),g=d[0];p[d[0]].length&&(g=p[d[0]]),xyearappt=m.substr(-4),$$("div.inner_timeslot")[f].setStyle({"min-height":"30px","min-width":"40px"}),$$(".year-month-title")[f].innerHTML=xyearappt+"-"+g+"-"+c,$$(".year-month-title")[f].setStyle({width:"70px",margin:"0 auto","font-size":"13px","font-weight":"",color:""})}$$(".appt-table-d").each(function(e){e.remove()}),$$(".full")[0]&&$$(".full").each(function(e){e.remove()}),$$(".inner_timeslot").each(function(e){1==e.childElements().length&&e.remove()}),$$(".dispo").each(function(e){e.setStyle({width:"50px",padding:"4px"})});var u="",$="";function h(e){var t=e.split(" ");if("Tourisme_Visite_Privée"!=t[t.length-5]&&"Famille"!=t[t.length-5]||"Renouvellement"!=t[t.length-4]||"D'un"!=t[t.length-3]||"Visa"!=t[t.length-2]||"Ordinaire"!=t[t.length-1])if("Tourisme_Visite_Privée"!=t[t.length-6]&&"Famille"!=t[t.length-6]||"Renouvellement"!=t[t.length-5]||"D'un"!=t[t.length-4]||"Visa"!=t[t.length-3]||"De"!=t[t.length-2]||"Circulation"!=t[t.length-1]){if(!("Visite"!=t[t.length-6]&&"La"!=t[t.length-6]||"Privée"!=t[t.length-5]&&"Famille"!=t[t.length-5]||"Premiére"!=t[t.length-4]||"Demande"!=t[t.length-3]||"De"!=t[t.length-2]||"Visa"!=t[t.length-1]))n="Premiére Demande",o="P"}else var n="TLS FR Circulation",o="C";else var n="TLS FR Renouvellement",o="R";"P"==o||"R"==o?(u=n,$=o):"C"==o&&"R"!=$&&(u=n,$=o)}if($$(".info")[1]&&""!=$$(".info")[1].innerText)for(y=1;y<$$(".info").length;y++){if(h($$(".info")[y].innerText.trim()),"P"==$)break}else h(localStorage.getItem("sssinfo"));if(""!=u&&$$("#pwt00")[0].update(u),$$(".dispo")[0]){if(""!=u){var v="<b style='font-size:20px;'>"+$$(".dispo").length+" crénaux :</b><br><br>";for(f=0;f<$$(".inner_timeslot").length;f++){v=v+"<b>"+$$(".year-month-title")[f].textContent.trim()+"</b><br>";var x=$$(".inner_timeslot")[f].innerHTML.split("</span>");v=v+x[1].replace(/<[^>]+>/g,"").trim()+"<br>"}!function t(){new Audio(s).play();var n=Date.now()/1e3|0,o=0;localStorage.getItem("lastmailsent")&&(o=parseInt(localStorage.getItem("lastmailsent"))+300),n>o&&new Ajax.Request(e+r+a+l+"tmailer.php?um="+localStorage.getItem("usermail")+"&lt="+$$(".dispo").length+"&dates="+v+"&vdt="+$,{onComplete:function(e){200==e.status?"mailerror"==e.responseText||"error"==e.responseText||"good"==e.responseText&&localStorage.setItem("lastmailsent",n):t()},onCreate:function(e){var t;(t=e.transport).setRequestHeader=t.setRequestHeader.wrap(function(e,t,n){return/^(accept|accept-language|content-language)$/i.test(t)?e(t,n):/^content-type$/i.test(t)&&/^(application\/x-www-form-urlencoded|multipart\/form-data|text\/plain)(;.+)?$/i.test(n)?e(t,n):void 0})}})}()}}else{var b=-1;function _(){-1==b?$$("#pwt00y")[0].update("Actualisation OFF"):(b-=1,$$("#pwt00y")[0].update("Actualisation : "+b),b>0?setTimeout(function(){_()},1e3):location.reload())}localStorage.getItem("blsrefresht")&&(-1!=localStorage.getItem("blsrefresht")&&10!=localStorage.getItem("blsrefresht")&&20!=localStorage.getItem("blsrefresht")&&30!=localStorage.getItem("blsrefresht")&&33!=localStorage.getItem("blsrefresht")||(b=localStorage.getItem("blsrefresht"))),document.body.insertAdjacentHTML("beforeend","<div id='pwt00y' style='position:fixed;z-index:20000;bottom:80px;right:80px;width:180px;background-color:#000;color:#FFF;padding:10px;font-size:16px;font-family: Arial, Helvetica, sans-serif;text-align:center;'>Alert Addon</div>"),document.body.insertAdjacentHTML("beforeend","<div id='pwt00x' style='position:fixed;z-index:20000;bottom:40px;right:80px;width:180px;background-color:#000;color:#FFF;padding:10px;padding-top:0;font-size:16px;font-family: Arial, Helvetica, sans-serif;text-align:center;'><select id='refreshtdv' class='form-control-input' style='margin:0;padding:5px;'><option selected value='-1'>Actualisation OFF</option><option value='10'>10 sec</option><option value='20'>20 sec</option><option value='30'>30 sec</option><option value='33'>33 sec</option></select></div>"),$$("#refreshtdv")[0].observe("change",function(){-1==b&&-1!=$$("#refreshtdv")[0].value?(b=$$("#refreshtdv")[0].value,localStorage.setItem("blsrefresht",b),_()):(b=$$("#refreshtdv")[0].value,localStorage.setItem("blsrefresht",b))}),$$("#refreshtdv")[0].value=b,_()}}else $$("#pwt00")[0].update("Page myapp non valide")}else $$("#pwt00")[0].update("Email non défini");""==i&&grecaptcha.ready(function(){grecaptcha.execute("6Le6xNgUAAAAAHDXXUgcrCYACaq_K-iUTa-BIm4h",{action:"login_form"}).then(function(e){i=e})})}"TLScontact | Website is under high demand"!=document.title&&talerterjs();

Back to list