Greasy Fork is available in English.

Light YouTube Video Downloader

A simple and easy-to-use YouTube to MP4/MP3 tool. Quickly loads without all of the extra junk that other scripts include.

// ==UserScript==
// @name         Light YouTube Video Downloader
// @namespace    https://spin.tk
// @version      1.1.1
// @description  A simple and easy-to-use YouTube to MP4/MP3 tool. Quickly loads without all of the extra junk that other scripts include.
// @author       Spinfal
// @match        https://www.youtube.com/
// @match        https://www.youtube.com/watch*
// @icon         https://www.google.com/s2/favicons?domain=youtube.com
// @grant        none
// @license      MIT
// @run-at       document-end
// ==/UserScript==

(function() {
    'use strict';

    window.onload = () => {
        setTimeout(() => document.getElementById('country-code').innerText += 'spinfal', 300);
        window.addEventListener("yt-navigate-finish", () => {
            setTimeout(() => {
                document.getElementById('download-btn')?.remove();
                const el = document.getElementsByTagName('ytd-video-secondary-info-renderer')[0];
                const div = document.createElement('div');
                div.setAttribute('id', 'download-btn');
                div.innerHTML = `<a style="color: #FEF9F9;" href="https://yt.clit.repl.co/download/index.html?ytid=${location.href.split('=')[1]}&quality=480&format=mp4" target="_blank"><tp-yt-paper-button style="background-color: #202020; border-radius: 5px; margin-top: 2vh;" class="style-scope ytd-button-renderer style-primary size-default">Download as MP4</tp-yt-paper-button></a><br>
                    <a style="color: #FEF9F9;" href="https://yt.clit.repl.co/download/index.html?ytid=${location.href.split('=')[1]}&format=mp3" target="_blank"><tp-yt-paper-button style="background-color: #202020; border-radius: 5px; margin-top: 1vh;" class="style-scope ytd-button-renderer style-primary size-default">Download as MP3</tp-yt-paper-button></a>`;
                el.insertBefore(div, el.firstChild);
            }, 200);
        });
    };
})();