// ==UserScript==
// @name X.com Video Downloader (Twitter)
// @namespace https://github.com/jayfantz
// @version 2.0
// @author jayfantz
// @description Adds a clean download option as first option to post/tweet dropdown ... menu, opens SaveTheVideo .. link to save to video script to fully automate download process after download clicked
// @match https://x.com/*
// @grant none
// @downloadURL none
// ==/UserScript==
(function () {
'use strict';
const site = "https://www.savethevideo.com/downloader?url=";
const svg = `
`;
function resolveTweetUrl(menuItem) {
// normal: find