2025-11-24 18:45:07 +01:00
|
|
|
// ==UserScript==
|
|
|
|
|
// @name Filmix.my downloader
|
2026-01-06 18:27:43 +01:00
|
|
|
// @namespace http://lesbian.ddns.net/
|
2025-11-24 18:45:07 +01:00
|
|
|
// @version 2025-11-24
|
2026-01-06 18:27:43 +01:00
|
|
|
// @description Adds download URL to videos in filmix.my
|
|
|
|
|
// @author Tomas
|
2025-11-24 18:45:07 +01:00
|
|
|
// @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 = "👀";
|
|
|
|
|
desc.append(url);
|
|
|
|
|
|
|
|
|
|
let timer = setInterval(()=>{
|
2026-01-06 18:40:46 +01:00
|
|
|
try
|
2025-11-24 18:45:07 +01:00
|
|
|
{
|
2026-01-06 18:40:46 +01:00
|
|
|
let players = document.getElementsByTagName("video");
|
|
|
|
|
if (players.length == 0) return;
|
|
|
|
|
|
|
|
|
|
for (const player of players)
|
2025-11-24 18:45:07 +01:00
|
|
|
{
|
2026-01-06 18:40:46 +01:00
|
|
|
// if (new URL(player.src).hostname.endsWith("werkecdn.me"))
|
|
|
|
|
if (true)
|
|
|
|
|
{
|
|
|
|
|
let filename = new URL(player.src).pathname.split("/").pop();
|
|
|
|
|
url.textContent = `Parsisiūsti 😜 (${filename}) 🏴☠️`;
|
|
|
|
|
url.href = `${player.src}`;
|
|
|
|
|
return;
|
|
|
|
|
}
|
2025-11-24 18:45:07 +01:00
|
|
|
}
|
|
|
|
|
}
|
2026-01-06 18:40:46 +01:00
|
|
|
catch (ex)
|
|
|
|
|
{
|
|
|
|
|
console.warn(ex);
|
|
|
|
|
}
|
2025-11-24 18:45:07 +01:00
|
|
|
}, 500);
|
|
|
|
|
})();
|