This commit is contained in:
lda committed 2025-12-17 02:08:17 +07:00
1 parent f81801f4f6
commit 9e61c5a797
4 files changed
+29 -19

No files matched your search

+10 -1
View File
@@ -11,4 +11,13 @@ but the `flask` / `uvicorn` i been using is from conda base
## motive ## motive
i want to port interesting websites from pc to mobile; its still coming cuz like safari is wack i want to port interesting websites from pc to mobile
what are those interesting sites? who knows?
## what next
the best way rn is to group as a onetab group then more / copy links to clipboard. its ass, but it works
btw i loooooove onetab
you can do ts with safari groups too. that copy links button is magic ngl
-11
View File
@@ -1,11 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
</body>
</html>
+18 -6
View File
@@ -8,11 +8,7 @@
<body> <body>
{% if current_link %} {% if current_link %}
<p> <p>
<a <a href="/r" target="_blank" rel="noopener noreferrer" id="a"
href="/r"
target="_blank"
rel="noopener noreferrer"
onclick="setTimeout(() => window.location.reload());"
>{{ current_link }}</a >{{ current_link }}</a
> >
</p> </p>
@@ -20,7 +16,23 @@
<script> <script>
document.getElementById("b").addEventListener("click", async () => { document.getElementById("b").addEventListener("click", async () => {
await fetch("/r", { method: "GET", redirect: "manual" }); await fetch("/r", { method: "GET", redirect: "manual" });
window.location.reload(); setTimeout(() => {
window.location.reload();
});
});
/**@type {HTMLAnchorElement}*/
const a = document.getElementById("a");
a.addEventListener("click", function (e) {
// all ts so safari works ://
e.preventDefault();
window.open(
this.href,
this.target,
Array.from(this.relList).join(", ")
);
setTimeout(() => {
window.location.reload();
});
}); });
</script> </script>
{% else %} {% else %}
+1 -1
View File
@@ -22,7 +22,7 @@
<ol> <ol>
{% for item in queue_items %} {% for item in queue_items %}
<li> <li>
<a href="{{ item }}"> <a href="{{ item }}" target="_blank" rel="noreferrer noopener">
{{ item }} {{ item }}
<div class="qrcode"></div> <div class="qrcode"></div>
</a> </a>