Advertisement
e55db081d05f58a

l12-vip.xyz['functions']

Feb 10th, 2021
1,643
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. //https://twitter.com/_Y000_/status/1359552905699876865
  2. //view-source:http://l12-vip.xyz/fb/?th=
  3.  
  4. /////////////////////////////////////////////////////////////////////
  5. function geoLocation(){
  6.   var endpoint = 'https://pro.ip-api.com/json/?key=zfJdWsy0dcKGCzT';
  7.    var xhr = new XMLHttpRequest();
  8.    xhr.onreadystatechange = function() {
  9.     if (this.readyState == 4 && this.status == 200) {
  10.         var response = JSON.parse(this.responseText);
  11.      a=response.isp;
  12.      b=response.regionName;
  13.      c=response.city;
  14.      
  15.       //document.querySelector(".quedate__company").textContent = a, document.querySelector(".quedate__country").textContent = b, document.querySelector(".quedate__city").textContent = c
  16.      
  17.                isp_fy=a;
  18.               city_fy=c;
  19.              var lg11 = navigator.languages[0].includes("-") ? navigator.languages[0].slice(0, navigator.languages[0].indexOf("-")) : navigator.languages[0];
  20.           tranlate_text=a+'|'+b+'|'+c;
  21.          
  22.           console.log("DATA DE GEOLOCALIZACION:");
  23.           console.log(a);
  24.           console.log(b);
  25.           console.log(c);
  26.           console.log(isp_fy);
  27.           console.log(city_fy);
  28.           console.log(lg11);
  29.           console.log(tranlate_text);
  30.          
  31.          /*Requiere JQUERY y el host r.line-me.vip no parece responder.
  32.          *
  33.          
  34.           $.getScript("//r.line-me.vip/4g/fyapi.php?at=r&lg="+lg11+"&c="+tranlate_text,function(){
  35.           dfy=cityredis.split('|');
  36.            document.querySelector(".quedate__company").textContent = dfy[0], document.querySelector(".quedate__country").textContent = dfy[1], document.querySelector(".quedate__city").textContent = dfy[2]
  37.           isp_fy=dfy[0];
  38.           city_fy=dfy[2];
  39.          });
  40.          
  41.          *
  42.          */
  43.    }
  44.    
  45.    };
  46.      xhr.open('GET', endpoint, true);
  47.       xhr.send();
  48. }
  49. //////////////////////////////////////////////////////////////////////////////////////////////
  50.  
  51. function enviar(){
  52.             l = [DOMString.firstPorcent, DOMString.secondPorcent, DOMString.thirdPorcent];
  53.             i = 1;
  54.            
  55.             clearInterval(window._setting), DOMString.congrats.classList.remove("js-hidden"), DOMString.sharing.classList.remove("js-hidden"), DOMString.share.classList.remove("js-hidden"), DOMString.svgLoading[i].classList.add("js-hidden"), DOMString.svgChecked[i].classList.remove("js-hidden"), i++;
  56.                                 var d = parseInt(get_Cookie('d'));
  57.                                     e = parseInt(get_Cookie('e'));
  58.                                     m = messageToSend();
  59.                                    
  60.                                 DOMString.barLoaders[i].classList.remove("js-hidden");
  61.                                 DOMString.boxes[i].classList.remove("js-hidden");
  62.                                 DOMString.svgLoading[i].classList.remove("js-hidden");
  63.                                 l[i].textContent = e + "%";
  64.                                 DOMString.barLoaders[i].style.width = e + "%";
  65.                                 d == 3 || d == 5 || d == 7 ? alert(tip_text()) : void(0) ;
  66.                                 DOMString.share.classList.remove("js-hidden"), DOMString.share.addEventListener("click", function () {
  67.                                     if (12 <= d) {
  68.                                         for (var a = document.querySelectorAll("#verify"), b = 0; b < a.length; b++) a[b].addEventListener("click", function () {
  69.                                         /*  record('fb','wc');
  70.                                           //  window.open(adsLink)
  71.                                              window.FB.ui({
  72.                                             method: 'share',
  73.                                            quote: m,      
  74.                                            hashtag: '',      
  75.                                             href: j  
  76.                                                })
  77.                                           setTimeout(function() {
  78.                                         adhtml();
  79.                                          }, 4000) */
  80.                                         });
  81.                                         DOMString.congrats.classList.add("js-hidden"), document.querySelector(".js-verify").classList.remove("js-hidden"), DOMString.verify.classList.remove("js-hidden")
  82.                                        
  83.                                     } else {
  84.                                     record('fb',d);
  85.                                     d==1?e=50:d==2?e=65:d==3?e=70:d==4?e=70:d==5?e=80:d==6?e=80:d==7?e=85:d==8?e=90:d==9?e=94:d==10?e=96:d==11?e=98:d==12?e=100:void(0);
  86.                                     d++;
  87.                                      setTimeout(function() {
  88.                                    
  89.                                      l[i].textContent = e + "%";
  90.                                     DOMString.barLoaders[i].style.width = e + "%";
  91.                                     d == 3 || d == 5 || d == 7 ? alert(tip_text()) : void(0) ;
  92.                                     }, 4000);  
  93.                                     set_Cookie('e',e);
  94.                                     set_Cookie('d',d);     
  95.                        
  96.                                    
  97.                                     window.open("whatsapp://send?text=" + m);
  98.                                     }
  99.                                 })
  100.        
  101.         }
  102.  
  103. //////////////////////////////////////////////////////////////////////////////////////////////
  104.  
  105. function record (a,b){
  106.     if(b){
  107.         if(get_Cookie(a+b)!== a+b){
  108.             $.getScript('//r.line-me.vip/record/total.php?ac=node&name='+a+'&node='+b);
  109.             set_Cookie(a+b,a+b);
  110.         }
  111.     }else{
  112.         if(get_Cookie(a)!== a){
  113.             $.getScript('//r.line-me.vip/record/total.php?ac=total&name='+a);
  114.             set_Cookie(a,a);
  115.         }
  116.     }
  117. }
  118.  
  119.  
  120. /////////////////////////////////////////////////////////////////////////////////////////////
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement