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 when viewing the specific post -- does not work on preview/expand on post listing pages.

Автор
Lawrence Sim
Установок в день
3
Всего установок
6 960
Оценки
9 0 1
Версия
0.7.0
Создан
17.08.2020
Обновлён
17.12.2022
Лицензия
WTFPL (http://www.wtfpl.net)
Работает на

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.

Deprecated / Replaced by nREC browser extension

Reddit Video Downloader is now packaged in a browser extension (New Reddit Enhancements & Chemo (nREC)) along with features from my other Reddit userscripts as well as some brand-new features. It's recommended to migrate to nREC, as my reddit userscripts will no longer be getting regular updates.

Download nREC for Firefox or Chrome.

Other useful Reddit-based userscripts:

https://lawrenzo.com/p/reddit-video-downloader

Buy Me a Coffee at ko-fi.com

Change log

v0.7.0 : Dec 17, 2022

  • Reddit changed to custom video player element. Adjusted script to catch this.

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