This commit is contained in:
lda committed 2025-12-17 20:03:22 +07:00
1 parent 4f10325b3e
commit c557ca01e7
5 files changed
+84 -10

No files matched your search

+36
View File
@@ -0,0 +1,36 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Trail</title>
</head>
<body>
{% if queue_length > 0 %}
<p>
<a
href="{{ current_link }}"
target="_blank"
rel="noreferrer noopener"
>{{ current_link }}</a
>
</p>
<p>{{ queue_length }} left: click the screen to do magic</p>
<script>
window.addEventListener("load", () => {
window.addEventListener("click", () => {
window.open(window.location.href, "_blank");
history.replaceState(
null,
"lol. lmao, even.",
new URL("/r", window.location.href).href
);
window.location.reload();
});
});
</script>
{% else %}
<a href="/queuein">add some to queuein lil guy</a>
{% endif %}
</body>
</html>