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; } }