This repository has been archived on 2024-04-03. You can view files and clone it, but cannot push or open issues or pull requests.
OLD-GZod01.fr_Source_Code-OLD/main-site/CyberTermHack/api.html

82 lines
2.1 KiB
HTML
Raw Permalink Normal View History

2023-03-25 09:29:34 +00:00
<!--YOUR PAGE HAVE TO CONTAIN THESE ELEMENT FOR THE API TO WORK:-->
<script>
document.body.innerText = `
YOUR PAGE HAVE TO CONTAIN THESE ELEMENT FOR THE API TO WORK:
<!DOCTYPE html>
<html lang="fr">
<head>
<title>TO REPLACE WITH YOUR TITLE</title>
<meta charset="UTF-8">
<style>
:root{
--bg-color: black;
--txt-color: white;
}
html, body{
background-color:var(--bg-color);
color: var(--txt-color);
margin:0;
height:100%;
min-height:100vh;
display:flex;
flex-direction:column;
word-wrap: break-word;
word-break: break-all;
z-index:2
}
.second {
flex-grow: 1;
}
#termcontent{
display: fixed;
left:0;
top:0;
height:95%;
width:100%;
overflow: auto
}
#divinput{
display:flex;
left:0;
bottom:0;
height:5%;
width:100%
}
#terminpt{
border: 0px solid !important;
background-color: var(--bg-color);
color:var(--txt-color);
width:95%
}
/*#terminptdiv{
float: none
}*/
*:focus {
outline: none;
}
/*#divofinfos{
float:left
}*/
#matrixcanvas{
width:100%;
height:100%;
position:fixed;
z-index:-1
}
</style>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>
<!--username and ip: green, $ or %: white, commands: white-->
<div id="termcontent">
</div>
<div id="divinput">
<span id=spanofinfos><span id="inptindic"></span><span id="inptname"></span></span><span class=second><input id=terminpt type="text"/></span>
</div>
<canvas id=matrixcanvas style='width:100%; height: 100%'>
</canvas>
<script src="//api.gzod01.fr/scripts/termapi.js">&lt/script>
</body>
</html>`</script>