bloxverify embed code code example
Example: bloxverify embed code
function delay(){
setTimeout(function(){return true;},30000);
};
document.getElementById('bloxverifybuttonparent').innerHTML = '<img src="https://embed.bloxverify.me/loading.gif">';
delay()
document.getElementById('bloxverifybuttonparent').innerHTML = '<link rel="stylesheet" href="https://embed.bloxverify.me/button.css" /> <a title="Login with ROBLOX"> <button class="loginwithroblox" onclick="loginwithroblox()" alt="Login with ROBLOX" />Login with <img src="https://embed.bloxverify.me/roblox.png"></a>';
function loginwithroblox() {
var data = document.querySelector('.bloxverifydata');
var token = data.getAttribute('bloxverify-token');
var goback = data.getAttribute('bloxverify-return');
var sso = data.getAttribute('bloxverify-sso');
var requests = data.getAttribute('bloxverify-requests');
console.log("[BLOXVERIFY API]: Token: " + token + "\n Go Back URI: " + goback + " \n SSO URL: " + sso + " REQUESTS HEADERS: " + requests)
}