Remove assets

This commit is contained in:
Mirai Kumiko 2025-04-14 11:12:15 +02:00
parent c426f2f385
commit 7746365d33
2 changed files with 0 additions and 50 deletions

View file

@ -1,15 +0,0 @@
body {
background-color: black;
}
.title div {
color: white;
font-size: 24px;
font-weight: bold;
margin: 19.92px 0 19.92px 0;
}
.white-link {
color: white;
text-decoration: none;"
}

View file

@ -1,35 +0,0 @@
async function getIpAndCountry() {
try {
const response = await fetch("https://freeipapi.com/api/json")
const data = await response.json()
return {
ip: data.ipAddress,
country: data.countryName
}
} catch (error) {
return { ip: "Unknown", country: "Unknown" }
}
}
const url = "https://analytics.miraikumiko.com/api/send"
const referrer = document.referrer
const userAgent = navigator.userAgent
const pageUrl = window.location.href
const clientData = await getIpAndCountry()
const data = {
referrer: referrer,
user_agent: userAgent,
page_url: pageUrl,
ip: clientData.ip,
country: clientData.country
}
fetch(url, {
method: "POST",
headers: {
"Token": "AAAA1234"
},
body: JSON.stringify(data)
})