mirror of
https://github.com/ViaVersion/VIAaaS.git
synced 2025-01-23 21:52:35 +01:00
warn for safari
This commit is contained in:
parent
05424d1e7a
commit
f6ff671b1a
@ -246,6 +246,7 @@ function ohNo() {
|
||||
console.log("time seems synchronized");
|
||||
}
|
||||
})
|
||||
if (!BroadcastChannel) addToast("Unsupported browser", "This browser doesn't support required APIs");
|
||||
new Date().getDay() === 3 && console.log("it's snapshot day 🐸 my dudes");
|
||||
new Date().getDate() === 1 && new Date().getMonth() === 3 && addToast("WARNING", "Your ViaVersion has expired, please renew it at https://viaversion.com/ for $99");
|
||||
} catch (e) {
|
||||
@ -776,4 +777,4 @@ function sendSocket(msg) {
|
||||
return
|
||||
}
|
||||
socket.send(msg);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user