Mute Loops

Automatically loops and mutes video files.

  1. // ==UserScript==
  2. // @name Mute Loops
  3. // @namespace idunnolol
  4. // @version 1.2.1
  5. // @description Automatically loops and mutes video files.
  6. // @author idunnolol
  7. // @author segito10
  8. // @author WhatIsThisImNotGoodWithComputers
  9. // @include *.webm*
  10. // @include *.mp4*
  11. // @include *r34i.paheal-cdn.net*
  12. // @license GPL
  13. // ==/UserScript==
  14.  
  15. const videos= [...document.getElementsByTagName('video')];
  16. videos.forEach((video) => { video.loop = true });
  17. videos.forEach((video) => { video.muted = true });
  18. void 0;