Copyright© 2024 Tasty - All Rights Reserved.
/*function updateWhitelistInputValue() {
//var val = [];
document.getElementsByName('whitelist')[0].value = JSON.stringify(window.whitelist);
}
function setPassword(i) {
var password = window.prompt('Enter password' + i);
window.whitelist[i]['password_hashed'] = '';
window.whitelist[i]['new_password'] = password;
setWhitelistHTML();
}
*/
function setAuthorizedSitesHTML() {
var s = '';
if (window.authorizedSites && window.authorizedSites.length > 0) {
s+='';
s+='';
s+='Site | '
//s+='Salt | '
//s+='Limit | '
s+='
';
s=='';
for (var i=0; i';
s+=window.authorizedSites[i]['id']
s+=' | ';
}
} else {
s+='No sites have been authorized to use this server yet.';
}
s+='
';
s+='';
/*
s+='';
s+='';
s+=' |
';
s+='';*/
document.getElementById('authorized_sites_div').innerHTML = s;
}
/*
function whitelistAdd() {
window.whitelist.push({
site: '',
password_hashed: '',
new_password: '',
//quota: 60
});
setWhitelistHTML();
}
function whitelistRemoveRow(i) {
window.whitelist.splice(i, 1);
setWhitelistHTML();
}
*/
document.addEventListener('DOMContentLoaded', function() {
setAuthorizedSitesHTML();
});
{"id":1,"name":"admin","url":"http:\/\/dailytechpost.us","description":"","link":"https:\/\/dailytechpost.us\/author\/admin\/","slug":"admin","avatar_urls":{"24":"https:\/\/secure.gravatar.com\/avatar\/6d2c59a33b3dc66ddd7f478da5cf37d3?s=24&d=mm&r=g","48":"https:\/\/secure.gravatar.com\/avatar\/6d2c59a33b3dc66ddd7f478da5cf37d3?s=48&d=mm&r=g","96":"https:\/\/secure.gravatar.com\/avatar\/6d2c59a33b3dc66ddd7f478da5cf37d3?s=96&d=mm&r=g"},"meta":[],"yoast_head":"\nadmin, Author at Daily Tech Post<\/title>\n\n\n\n\n\n\n\n\n\n