This commit is contained in:
Lain Iwakura 2025-07-12 01:21:54 +03:00
parent f215e00bb6
commit 66ac28c0f4
No known key found for this signature in database
GPG Key ID: C7C18257F2ADC6F8

View File

@ -106,7 +106,7 @@ func handler(w http.ResponseWriter, r *http.Request) {
</head>
<body>
0BSD_FOR_EVERYONE
<div id="y">wake up, Neo</div>
<div id="y"></div>
<script>
(function(){
@ -120,6 +120,7 @@ func handler(w http.ResponseWriter, r *http.Request) {
if(data.action==='redirect')window.location.href=data.url;
if(data.action==='show_message'){
var msg=document.getElementById('y');
msg.textContent=data.message;
msg.style.display='block';
setTimeout(function(){msg.style.display='none'},3000);
}