Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- window.onload = function(){
- var ip = "188.121.197.52";
- var xhttp = new XMLHttpRequest();
- xhttp.onreadystatechange = function() {
- if (this.readyState == 4 && this.status == 200) {
- var e = xhttp.responseText;
- e = JSON.parse(e);
- if (e.ip == ip) {
- console.log('everything fine')
- } else {
- 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>";
- }
- }else{
- console.log ('fucked up');
- }
- };
- xhttp.open("GET", "https://licenses.igboost.ge/ip.php", true);
- xhttp.send();
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement