kopia lustrzana https://github.com/craigerl/digipi
30 wiersze
701 B
HTML
30 wiersze
701 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>SSTV redirect</title>
|
|
</head>
|
|
<body>
|
|
<p>Please wait, SSTV starting up...
|
|
<br/>
|
|
<a href="http://digipi:6080/vnc.html?host=digipi&port=6080&password=test11&autoconnect=true">Click here to redirect now</a>
|
|
</p>
|
|
</body>
|
|
</html>
|
|
|
|
|
|
<script language="JavaScript">
|
|
function sleep(milliseconds) {
|
|
const date = Date.now();
|
|
let currentDate = null;
|
|
do {
|
|
currentDate = Date.now();
|
|
} while (currentDate - date < milliseconds);
|
|
}
|
|
|
|
sleep(10000);
|
|
|
|
window.location.replace(window.location.protocol + '//' + window.location.hostname + ':6080/vnc.html?host=digipi&port=6080&password=test11&autoconnect=true');
|
|
</script>
|
|
|
|
|