RIP EU
This commit is contained in:
parent
241661ce95
commit
1a1cd96b04
1 changed files with 8 additions and 7 deletions
|
@ -6,7 +6,7 @@
|
|||
<link rel="stylesheet" href="/static/css/styles.css">
|
||||
</head>
|
||||
<body>
|
||||
<p>Shounic's un-styled ultra-ugly gambling site</p>
|
||||
<h1>ShoGambler</h1>
|
||||
<p id="unclaimedPoints">Loading...</p>
|
||||
<p>Click the button to claim unclaimed points</p>
|
||||
<button id="claimPoints">Claim Points</button>
|
||||
|
@ -55,12 +55,13 @@
|
|||
}
|
||||
|
||||
// Warn EU users that this website is not GDPR-compliant (in the EU)
|
||||
if (isUserInEU()) {
|
||||
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?")) {
|
||||
// Redirect the user to the EU website (haha)
|
||||
window.location.href = "https://europa.eu/"
|
||||
}
|
||||
}
|
||||
// I don't think we actually need to do this
|
||||
// if (isUserInEU()) {
|
||||
// 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?")) {
|
||||
// // Redirect the user to the EU website (haha)
|
||||
// window.location.href = "https://europa.eu/"
|
||||
// }
|
||||
// }
|
||||
|
||||
await fetch("/api/loggedIn", {
|
||||
method: "GET",
|
||||
|
|
Loading…
Add table
Reference in a new issue