Reddit Video Downloader
Adds button to direct link or download the stupidly hard to save or share directly reddit videos. Designed to work on new Reddit only. Buttons appear below video when viewing the specific post -- does not work on preview/expand on post listing pages.
Note that some ad blockers (particularly AdBlockPlus) can occasionally be fairly aggressive at removing these buttons. As they're not generated with any particular class or ID tag, I'm not sure what heuristics are being triggered by such blocking mechanisms. For now, if the buttons still don't show up, try disabling your adblocker for reddit.
Compatible with Reddit Watcher.
Future deprecation warning
Reddit Video Downloader is now packaged in a new browser extension (New Reddit Enhancements & Chemo) with features from several other helpful Reddit userscripts. We recommend you eventually migrate to using New Reddit Enhancements & Chemo, as in the near-future this userscript will no longer be supported as the browser extension will supplant it.
Other useful Reddit-based userscripts:
https://lawrenzo.com/p/reddit-video-downloader

Change log
v0.6.3 : Aug 18, 2022
- Add
@noframes
, userscripts on reddit seem to have been initializing multiple times.
v0.6.2 : Mar 10, 2022
- Clear remove watchers (from v0.5.2 update) when feed changes.
v0.6.1 : Mar 9, 2022
v0.5.3 : Mar 9, 2022
- Gifs and MP4s in video element (though can be right-click saved), give direct link as well.
v0.5.2 : Mar 8, 2022
- Appears React would sometimes remove the download buttons. Difficult to ascertain exactly the conditions, oddly seemed more often in light mode rather than dark mode. Anyways, added observer to reappend if removed.
v0.5.1 : Mar 8, 2022
- Made compatible with Reddit Watcher.
- Minor fix to fetch error catching.
v0.4.0 : Mar 7, 2022
- Pre-create buttons instead of waiting for fetch() to return.
v0.3.2 : Mar 7, 2022
- Remove condition looking for post-content before apply mutation observer. If not set to open posts in new window, wouldn't be applied.
v0.3.0 : Mar 3, 2022
- More specific mutation observer for less firings of observer when unnecessary.
- Use fetch API.
- Update styling.
v0.2.9 : Dec 8, 2021
- Now works when opening up a crossposted video.
v0.2.8 : Dec 6, 2021
- Add RedditSave download option by request. Might replace with this later, does seem cleaner.
v0.2.7 : Oct 26, 2021
- Mutation observer disconnect after successful linking. No need to keep checking DOM updates after.
v0.2.6 : Sept 7, 2021
- Remove onload wrap. Started to get buggy. Mutation observer should catch everything now.
- Split "?" to remove possible URI params.
v0.2.4 : Sept 1, 2020
- Wrap in onload function. When opened in unfocused new tabs, sometimes weren't triggering properly.
v0.2.3 : Aug 27, 2020
- Replace click-listener with mutation observer.
v0.2.2 : Aug 18, 2020
- Replace interval listener with click-listener.
v0.2.1 : Aug 17, 2020
- Updated to work on seamless/overlay post view (that is, not new tab).
- Update @namespace