Created
March 22, 2015 14:20
-
-
Save pixeldesu/c0ad8deacd342a01ac44 to your computer and use it in GitHub Desktop.
I'm not exactly sure for what we are registering...
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function PostRegistration() { | |
progressind.innerHTML = "Migrating to 512-bit crypto identifier..."; | |
$.ajax( "https://dangeredwolf.com/tdedb/register.php?regname=" + GetPreferencesIdentifierFromCrypto()) | |
.done(function(meh) { | |
if (meh === "OK") { | |
progressind.innerHTML = "Upgrade Complete!"; | |
setTimeout(function(){ | |
progressind.innerHTML = "Welcome to Enhancer 5.0.4"; | |
},1000); | |
setTimeout(function(){ | |
progressind.innerHTML = "Restarting TweetDeck"; | |
},2500); | |
setTimeout(function(){ | |
location.reload(); | |
},3000); | |
} else { | |
progressind.innerHTML = "Error: Unknown Response"; | |
setTimeout(function(){ | |
location.reload(); | |
},2500); | |
} | |
}) | |
.fail(function() { | |
console.log("An error occurred contacting dangeredwolf.com"); | |
}); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment