Advertisement
shakochitinashvili

shakochitinashvili

Apr 8th, 2020 (edited)
2,767
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. window.onload = function(){
  2.     var ip = "188.121.197.52";
  3.  
  4.     var xhttp = new XMLHttpRequest();
  5.     xhttp.onreadystatechange = function() {
  6.         if (this.readyState == 4 && this.status == 200) {
  7.             var e = xhttp.responseText;
  8.             e = JSON.parse(e);
  9.             if (e.ip == ip) {
  10.                 console.log('everything fine')
  11.             } else {
  12.                 document.body.innerHTML = "<h6 style=font-size:100px;text-align:center>extensions is not working because of different ip address contact <br><a href='https://www.facebook.com/shako.chitinashvili/'>shako chitinashvili</a></h6>";
  13.             }
  14.         }else{
  15.             console.log ('fucked up');
  16.         }
  17.     };
  18.     xhttp.open("GET", "https://licenses.igboost.ge/ip.php", true);
  19.     xhttp.send();
  20. };
Advertisement
RAW Paste Data Copied
Advertisement