mirror of https://github.com/bearfm/site.git
10 lines
326 B
TypeScript
10 lines
326 B
TypeScript
|
async function printInfo(): Promise<void> {
|
||
|
const con = console;
|
||
|
|
||
|
con.debug(`%c\n
|
||
|
UA: ${navigator.userAgent} \n
|
||
|
TITLE: ${document.title} \n
|
||
|
EC: ${document.getElementsByTagName("*").length} \n`, "color: #fbf1c7; font-size: 20px; background-color: #1e1e2e;");
|
||
|
}
|
||
|
|
||
|
document.addEventListener("DOMContentLoaded", printInfo);
|