mirror of
https://github.com/NeonGamerBot-QK/saahild.com.git
synced 2025-07-28 00:54:06 +00:00
23 lines
630 B
TypeScript
23 lines
630 B
TypeScript
import { startingLog } from "./log";
|
|
import { runTitle } from "./changing_title";
|
|
import { injectOneko } from "./oneko";
|
|
|
|
if (process.client) {
|
|
// DOM-related logic here
|
|
// onMounted(() => {
|
|
startingLog();
|
|
runTitle();
|
|
|
|
injectOneko();
|
|
umIdentify({
|
|
semi_perm_id: localStorage.getItem("semi_perm_id")
|
|
? localStorage.getItem("semi_perm_id")
|
|
: (localStorage.semi_perm_id =
|
|
Math.random().toString(36).substring(2, 15) +
|
|
Math.random().toString(36).substring(2, 15)),
|
|
temp_id: Date.now() + Math.random().toString(36).substring(2, 15),
|
|
user_agent: navigator.userAgent,
|
|
});
|
|
// });
|
|
|
|
}
|