Initial commit

This commit is contained in:
2025-11-24 18:45:07 +01:00
commit 07b489686f

42
filmix.my.js Normal file
View File

@ -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);
})();