Used to redirect to external links in Web IPFS Copy Capsule

This commit is contained in:
fred 2023-02-04 19:04:33 +01:00
parent 4fd9fa4ed2
commit 569c64be00
1 changed files with 20 additions and 0 deletions

20
templates/external.html Normal file
View File

@ -0,0 +1,20 @@
<html>
<head>
<title>Astoport.ONE Station - Web Capsule -</title>
</head>
<body>
<script language="Javascript">
<!--
var loc=document.location.toString();
if (loc) {
var pos=loc.indexOf('link=');
if (pos>0) {
document.write('Clic to the link <b>below</b> to go to the online location!<br><a href="'+loc.substring(pos+5)+'">'+loc.substring(pos+5)+'</a><br>');
} else
document.write('(no location defined)');
}
// -->
</script>
<h1><strong><u>External Link !...</u></strong></h1>
</body>
</html>