Mute Loops

Automatically loops and mutes video files.

As of 2023-12-12. See the latest version.

// ==UserScript==
// @name         Mute Loops
// @namespace    I dunno lol
// @version      1
// @description  Automatically loops and mutes video files.
// @author       I dunno lol
// @author       WhatIsThisImNotGoodWithComputers
// @author       segito10
// @include      *.webm
// @include      *.mp4
// @license      GPL
// ==/UserScript==

const videos= [...document.getElementsByTagName('video')];
videos.forEach((video) => { video.loop = true });
videos.forEach((video) => { video.muted = true });
void 0;