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();
});
{"version":"1.0","provider_name":"Daily Tech Post","provider_url":"https:\/\/dailytechpost.us","author_name":"admin","author_url":"https:\/\/dailytechpost.us\/author\/admin\/","title":"How Technology Is Transforming Agriculture | Daily Tech Post","type":"rich","width":600,"height":338,"html":"How Technology Is Transforming Agriculture<\/a><\/blockquote>