commit 07b489686f8e7526ddab4e490d2dacfb42bbbaaf Author: Tomas Date: Mon Nov 24 18:45:07 2025 +0100 Initial commit diff --git a/filmix.my.js b/filmix.my.js new file mode 100644 index 0000000..1323d1b --- /dev/null +++ b/filmix.my.js @@ -0,0 +1,42 @@ +// ==UserScript== +// @name Filmix.my downloader +// @namespace http://tampermonkey.net/ +// @version 2025-11-24 +// @description try to take over the world! +// @author You +// @match https://filmix.my/play/* +// @icon https://www.google.com/s2/favicons?sz=64&domain=filmix.my +// @grant none +// ==/UserScript== + +(function() { + 'use strict'; + + let desc = document.getElementById("play-descr"); + + for (let i = 0; i < 2; i++) + { + let br = document.createElement("BR"); + desc.append(br); + } + + let url = document.createElement("A"); + url.textContent = "👀"; + url.toggleAttribute("download", true); + desc.append(url); + + let timer = setInterval(()=>{ + let players = document.getElementsByTagName("video"); + if (players.length == 0) return; + + for (const player of players) + { + if (new URL(player.src).hostname.endsWith("werkecdn.me")) + { + url.textContent = `Parsisiūsti 😜 (${new URL(player.src).pathname.split("/").pop()}) 🏴‍☠️`; + url.href = `fdm:///${player.src}`; + return; + } + } + }, 500); +})(); \ No newline at end of file