Last active
August 20, 2025 12:27
-
-
Save PeteHaughie/410c76c29ca113d0c0ba05488b01dd0f to your computer and use it in GitHub Desktop.
Disable Reddit Video Autoplay Tampermonkey Script
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // ==UserScript== | |
| // @name Disable Reddit Video Autoplay | |
| // @namespace http://tampermonkey.net/ | |
| // @version 2025-08-20 | |
| // @description A simple script to disable the media autoplay on Reddit.com which they refuse to fix for desktop | |
| // @author Pete Haughie | |
| // @match https://www.reddit.com/* | |
| // @icon https://www.google.com/s2/favicons?sz=64&domain=reddit.com | |
| // @grant none | |
| // ==/UserScript== | |
| (function() { | |
| 'use strict'; | |
| let mediaElements = document.querySelectorAll("shreddit-player-2"); | |
| mediaElements.forEach(el => { | |
| el.removeAttribute("autoplay"); | |
| }); | |
| })(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment