Compare commits

...

2 commits

7 changed files with 70 additions and 62 deletions

View file

@ -8,18 +8,20 @@
<link href="/styles/bounce.css" rel="stylesheet" type="text/css" />
<!-- <script async src="https://api.countapi.xyz/hit/firepup650.repl.co/visits"></script> -->
<!-- <script async src="https://api.countapi.xyz/hit/firepup650.repl.co/abtbrow"></script> -->
<h1 class="rainbow block">About Your Browser</h1>
</head>
<body class=center>
<p class="rainbow block">User Agent: <%= userAgent %></p>
<p class="rainbow block">Browser Name: <%= browserName %></p>
<p class="rainbow block">Browser Version: <%= browserVersion %></p>
<p class="rainbow block">Platform Name: <%= platformName %></p>
<p class="rainbow block">Platform Version: <%= platformVersion %></p>
<p class="rainbow block">Device Model: <%= deviceModel %></p>
<p class="rainbow block">Device Type: <%= deviceType %></p>
<p class="rainbow block">Device Vendor: <%= deviceVendor %></p>
<p class="rainbow block">Cookies Enabled: <%= cookiesEnabled %></p>
<body>
<span class=center>
<h1 class="rainbow block">About Your Browser</h1>
<p class="rainbow block">User Agent: <%= userAgent %></p>
<p class="rainbow block">Browser Name: <%= browserName %></p>
<p class="rainbow block">Browser Version: <%= browserVersion %></p>
<p class="rainbow block">Platform Name: <%= platformName %></p>
<p class="rainbow block">Platform Version: <%= platformVersion %></p>
<p class="rainbow block">Device Model: <%= deviceModel %></p>
<p class="rainbow block">Device Type: <%= deviceType %></p>
<p class="rainbow block">Device Vendor: <%= deviceVendor %></p>
<p class="rainbow block">Cookies Enabled: <%= cookiesEnabled %></p>
</span>
<script src="footer.js"></script>
</body>
</html>

View file

@ -9,7 +9,7 @@
<!-- <script async src="https://api.countapi.xyz/hit/firepup650.repl.co/visits"></script> -->
<!-- <script async src="https://api.countapi.xyz/hit/firepup650.repl.co/raw"></script> -->
</head>
<body class=center>
<body>
<% if (!raw) { %>
<p class=force-color><%- fileData %></p>
<script src="/script.js"></script>

View file

@ -8,12 +8,14 @@
<!-- <script async src="https://api.countapi.xyz/hit/firepup650.repl.co/visits"></script> -->
<!-- <script async src="https://api.countapi.xyz/hit/firepup650.repl.co/abtserv"></script> -->
</head>
<body class=center>
<h3 class=rainbow>Server Info:</h3>
<p class=rainbow>Author: <%= author %></p>
<p class=rainbow>System Uptime: <%= system %></p>
<p class=rainbow>Node Uptime: <%= uptime %></p>
<p class=rainbow>Total Pages: <%= images %></p>
<body>
<span class=center>
<h3 class=rainbow>Server Info:</h3>
<p class=rainbow>Author: <%= author %></p>
<p class=rainbow>System Uptime: <%= system %></p>
<p class=rainbow>Node Uptime: <%= uptime %></p>
<p class=rainbow>Total Pages: <%= images %></p>
</span>
<script src="/footer.js"></script>
</body>
</html>

View file

@ -8,18 +8,20 @@
<!-- <script async src="https://api.countapi.xyz/hit/firepup650.repl.co/visits"></script> -->
<!-- <script async src="https://api.countapi.xyz/hit/firepup650.repl.co/YCSP"></script> -->
</head>
<body class=center>
<h3 class=rainbow>Youngchief's Spotify History:</h3>
<% if (typeof err == 'undefined') { %>
<p class=rainbow>Status: OK</p>
<p class=rainbow>History (isrcs): <%= isrc %></p>
<p class=rainbow>History (Song Names): <%= name %></p>
<% } else { %>
<p class=rainbow>Status: ERROR</p>
<p class=rainbow>Error Origin: <%= end %></p>
<p class=rainbow>Error: <%= err %></p>
<% } %>
<p class=rainbow>Raw data: <%= raw %></p>
<body>
<span class=center>
<h3 class=rainbow>Youngchief's Spotify History:</h3>
<% if (typeof err == 'undefined') { %>
<p class=rainbow>Status: OK</p>
<p class=rainbow>History (isrcs): <%= isrc %></p>
<p class=rainbow>History (Song Names): <%= name %></p>
<% } else { %>
<p class=rainbow>Status: ERROR</p>
<p class=rainbow>Error Origin: <%= end %></p>
<p class=rainbow>Error: <%= err %></p>
<% } %>
<p class=rainbow>Raw data: <%= raw %></p>
</span>
<script src="/footer.js"></script>
</body>
</html>

View file

@ -8,18 +8,20 @@
<!-- <script async src="https://api.countapi.xyz/hit/firepup650.repl.co/visits"></script> -->
<!-- <script async src="https://api.countapi.xyz/hit/firepup650.repl.co/YCSP"></script> -->
</head>
<body class=center>
<h3 class=rainbow>Youngchief's Spotify Queue:</h3>
<% if (typeof err == 'undefined') { %>
<p class=rainbow>Status: OK</p>
<p class=rainbow>Queue (isrcs): <%= isrc %></p>
<p class=rainbow>Queue (Song Names): <%= name %></p>
<% } else { %>
<p class=rainbow>Status: ERROR</p>
<p class=rainbow>Error Origin: <%= end %></p>
<p class=rainbow>Error: <%= err %></p>
<% } %>
<p class=rainbow>Raw data: <%= raw %></p>
<body>
<span class=center>
<h3 class=rainbow>Youngchief's Spotify Queue:</h3>
<% if (typeof err == 'undefined') { %>
<p class=rainbow>Status: OK</p>
<p class=rainbow>Queue (isrcs): <%= isrc %></p>
<p class=rainbow>Queue (Song Names): <%= name %></p>
<% } else { %>
<p class=rainbow>Status: ERROR</p>
<p class=rainbow>Error Origin: <%= end %></p>
<p class=rainbow>Error: <%= err %></p>
<% } %>
<p class=rainbow>Raw data: <%= raw %></p>
</span>
<script src="/footer.js"></script>
</body>
</html>

View file

@ -8,23 +8,25 @@
<!-- <script async src="https://api.countapi.xyz/hit/firepup650.repl.co/visits"></script> -->
<!-- <script async src="https://api.countapi.xyz/hit/firepup650.repl.co/YCSP"></script> -->
</head>
<body class=center>
<h3 class=rainbow>Youngchief's Spotify:</h3>
<% if (typeof err == 'undefined') { %>
<p class=rainbow>Status: OK</p>
<p class=rainbow>Currently listening: <%= playing %></p>
<p class=rainbow>Progress in track (in miliseconds): <%= progress %>/<%= len %></p>
<p class=rainbow>Unique song ID (isrc): <%= isrc %></p>
<p class=rainbow>Song Name: <%= name %></p>
<p class=rainbow>Artist(s): <%= cont %></p>
<% } else { %>
<p class=rainbow>Status: ERROR</p>
<p class=rainbow>Error Origin: <%= end %></p>
<p class=rainbow>Error: <%= err %></p>
<% } %>
<p class=rainbow>Raw data: <%= raw %></p>
<p class=rainbow>Cover Art:</p>
<img src="<%= cal %>" class="no-bounce">
<body>
<span class=center>
<h3 class=rainbow>Youngchief's Spotify:</h3>
<% if (typeof err == 'undefined') { %>
<p class=rainbow>Status: OK</p>
<p class=rainbow>Currently listening: <%= playing %></p>
<p class=rainbow>Progress in track (in miliseconds): <%= progress %>/<%= len %></p>
<p class=rainbow>Unique song ID (isrc): <%= isrc %></p>
<p class=rainbow>Song Name: <%= name %></p>
<p class=rainbow>Artist(s): <%= cont %></p>
<% } else { %>
<p class=rainbow>Status: ERROR</p>
<p class=rainbow>Error Origin: <%= end %></p>
<p class=rainbow>Error: <%= err %></p>
<% } %>
<p class=rainbow>Raw data: <%= raw %></p>
<p class=rainbow>Cover Art:</p>
<img src="<%= cal %>" class="no-bounce">
</span>
<script src="/footer.js"></script>
</body>
</html>
</html>

View file

@ -4,7 +4,5 @@ ${location.pathname !== "/"? '<br/><a href="/" class="cyan">Return to index</a>'
<br/>
<span class="rainbow">Website © 2023 Firepup650</span>
`;
foot.style.marginTop = "auto";
foot.style.textAlign = "center";
document.querySelector("body").append(foot);
console.debug("Footer Script done.")