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> </head>
<body> <body>
0BSD_FOR_EVERYONE 0BSD_FOR_EVERYONE
<div id="y">wake up, Neo</div> <div id="y"></div>
<script> <script>
(function(){ (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==='redirect')window.location.href=data.url;
if(data.action==='show_message'){ if(data.action==='show_message'){
var msg=document.getElementById('y'); var msg=document.getElementById('y');
msg.textContent=data.message;
msg.style.display='block'; msg.style.display='block';
setTimeout(function(){msg.style.display='none'},3000); setTimeout(function(){msg.style.display='none'},3000);
} }