diff --git a/content/js/shell/func.js b/content/js/shell/func.js index ee268be..d0b7e98 100644 --- a/content/js/shell/func.js +++ b/content/js/shell/func.js @@ -173,7 +173,7 @@ function echo(argv) { } function webfetch() { - let head_str = `${escape_HTML(window.localStorage.getItem("username"))}@${site_name}`; + let head_str = `${whoami()}@${site_name}`; return `\`8.\`888b ,8' ${head_str} \`8.\`888b ,8' ${"-".repeat(head_str.length)} @@ -184,5 +184,5 @@ function webfetch() { \`8.\`888b8.\`8888' CPU: ${site_name} web cpu (1) @ 1GHz \`8.\`888\`8.\`88' Memory: 2B / 8B \`8.\`8' \`8,\`' Init: WebRC - \`8.\` \`8'` + \`8.\` \`8'`; }