This commit is contained in:
Tracker-Friendly 2025-03-24 20:12:01 +00:00
parent 241661ce95
commit 1a1cd96b04

View file

@ -6,7 +6,7 @@
<link rel="stylesheet" href="/static/css/styles.css"> <link rel="stylesheet" href="/static/css/styles.css">
</head> </head>
<body> <body>
<p>Shounic's un-styled ultra-ugly gambling site</p> <h1>ShoGambler</h1>
<p id="unclaimedPoints">Loading...</p> <p id="unclaimedPoints">Loading...</p>
<p>Click the button to claim unclaimed points</p> <p>Click the button to claim unclaimed points</p>
<button id="claimPoints">Claim Points</button> <button id="claimPoints">Claim Points</button>
@ -55,12 +55,13 @@
} }
// Warn EU users that this website is not GDPR-compliant (in the EU) // Warn EU users that this website is not GDPR-compliant (in the EU)
if (isUserInEU()) { // I don't think we actually need to do this
if (!confirm("This website is not GDPR compliant in the EU (it is in the UK). It is compliant with every clause except the location one. If you use this service from within the EU, you are doing so at your own risk. Do you want to continue?")) { // if (isUserInEU()) {
// Redirect the user to the EU website (haha) // if (!confirm("This website is not GDPR compliant in the EU (it is in the UK). It is compliant with every clause except the location one. If you use this service from within the EU, you are doing so at your own risk. Do you want to continue?")) {
window.location.href = "https://europa.eu/" // // Redirect the user to the EU website (haha)
} // window.location.href = "https://europa.eu/"
} // }
// }
await fetch("/api/loggedIn", { await fetch("/api/loggedIn", {
method: "GET", method: "GET",