hfs
Version:
HTTP File Server
28 lines (26 loc) • 1.27 kB
HTML
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1.0, user-scalable=0" />
<link href="/fontello.css" rel="stylesheet" />
</head>
<body>
<style class="removeAtBoot">@media (prefers-color-scheme: dark) { html { background-color: #000; color: #888; } }</style>
<div id="root">Wait for loading or <a href="?get=basic">use basic interface now</a></div>
<script>
function isModernBrowser() { // support BigInt
const ua = navigator.userAgent
return /Chrome\/(\d+)/.exec(ua)?.[1] >= 67 ||
/Edg\/(\d+)/.exec(ua)?.[1] >= 79 ||
/Firefox\/(\d+)/.exec(ua)?.[1] >= 68 ||
/OPR\/(\d+)/.exec(ua)?.[1] >= 54 ||
/Version\/(\d+).+Safari/.exec(ua)?.[1] >= 14
}
if (isModernBrowser())
document.getElementById('root').innerHTML = 'Loading...'
</script>
<script crossorigin id="vite-legacy-polyfill" src="/assets/polyfills-legacy-Ca1TOBqp.js"></script>
<script crossorigin id="vite-legacy-entry" data-src="/assets/index-legacy-tp2PPbCA.js">System.import(document.getElementById('vite-legacy-entry').getAttribute('data-src'))</script>
</body>
</html>