File indexing completed on 2025-01-05 04:35:09
0001 <html> 0002 <head> 0003 <link rel="shortcut icon" href="%FAVICON%"> 0004 <style> 0005 input { margin: 15% 25%; min-width: 50%; border: 1px solid; } 0006 0007 @media (prefers-color-scheme: light) { 0008 html, body {background: #dddddd;color: #525c66;} 0009 input {border-color: #babcb8;} 0010 input:focus {border-color: #579eea;} 0011 } 0012 @media (prefers-color-scheme: dark) { 0013 html, body {background: #070709;color: #dddddd;} 0014 input {background-color: #070709;color: white;border-color: #555;} 0015 input:focus {border-color: #1a4ba4;} 0016 } 0017 </style> 0018 </head> 0019 <body> 0020 <input type="text" id="groupname" oninput="updateName();"></input> 0021 </body> 0022 <script> 0023 var loaded = false; 0024 function updateName() { 0025 var input = document.getElementById("groupname"); 0026 if (!loaded && input.value == "") { 0027 input.value = window.location.hash.substr(1); 0028 if (input.value == "") { 0029 input.value = "%NEW-GROUP%"; 0030 } 0031 } 0032 document.title = input.value; 0033 window.location.replace("#" + input.value); 0034 loaded = true; 0035 } 0036 updateName(); 0037 </script> 0038 </html>