From ece41556b275bdd0e66d678f29af10d27b632622 Mon Sep 17 00:00:00 2001 From: Tomas Date: Mon, 24 Nov 2025 18:56:17 +0100 Subject: [PATCH] Download via fdm --- filmix.my.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/filmix.my.js b/filmix.my.js index 0e17cc3..7558e45 100644 --- a/filmix.my.js +++ b/filmix.my.js @@ -22,7 +22,6 @@ let url = document.createElement("A"); url.textContent = "👀"; - url.toggleAttribute("download", true); desc.append(url); let timer = setInterval(()=>{ @@ -33,8 +32,9 @@ { if (new URL(player.src).hostname.endsWith("werkecdn.me")) { - url.textContent = `Parsisiūsti 😜 (${new URL(player.src).pathname.split("/").pop()}) 🏴‍☠️`; - url.href = player.src; + let filename = new URL(player.src).pathname.split("/").pop(); + url.textContent = `Parsisiūsti 😜 (${filename}) 🏴‍☠️`; + url.href = `fdm://download?url=${player.src}`; return; } }