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 to make flowchart in Word | Daily Tech Post","type":"rich","width":600,"height":338,"html":"How to make flowchart in Word<\/a><\/blockquote>