The NSFWDL userscript: a Download button on the video page

The free NSFWDL userscript adds a Download button to video pages on PornHub, xHamster, XVideos, XNXX, RedGifs and 15 more sites. Choose a quality and the MP4 is saved without leaving the page. It is open source, it works with Tampermonkey or Violentmonkey, and it talks only to nsfwdl.com, only when you click.

Install from Sleazy Fork

What it does

  • A Download button on the video page. Choose a quality and the MP4 goes to your browser's downloads, without a new tab or a copied link.
  • Real qualities with real sizes, the same ones this site lists, for example 720p · ~110 MB.
  • Live progress in the panel and in the tab title, and a notification when a file is saved while you're in another tab.
  • Buttons on thumbnails on listings, search results and profiles (desktop), so you can download without opening the video.
  • A queue: start as many as you like; four run at a time and the rest start on their own.
  • Downloaded marks: videos you already saved get a green outline on their thumbnails.
  • No pop-ups, no redirects, no fake buttons, like nsfwdl.com itself.

How to install it

  1. Install a userscript manager. On a computer: Tampermonkey or Violentmonkey in Chrome, Edge, Firefox, Opera or Brave. On Android: Firefox with Tampermonkey or Violentmonkey, or Microsoft Edge with Tampermonkey. On iPhone or iPad: Safari with the free Userscripts app or Stay.
  2. Open the script on Sleazy Fork or OpenUserJS and press Install. Updates then arrive on their own.
  3. Open a video on a supported site: the NSFWDL button sits in the bottom corner. Alt+Shift+D opens it from the keyboard.

Where to get it and read the code

  • Sleazy Fork: install, updates and reviews.
  • OpenUserJS: the same script, as an alternative source.
  • GitHub and GitLab: the readable, unminified source code (MIT license) and its tests.
  • Project page: an overview of the script.

Sites it works on

The button appears on these sites. Each one also has its own downloader page here, which works without the script.

Privacy

The script sends nothing while you browse. When you open its panel, it sends the public link of that video to nsfwdl.com to list its qualities; choosing one prepares the file. It talks to nsfwdl.com only, has no analytics, ads or tracking code, and keeps its settings and the list of videos you saved in your userscript manager.

Questions about the userscript

Is the NSFWDL userscript free?

Yes. It is free and open source under the MIT license. Downloads are free up to about 500 MB per file; larger files need an optional Supporter key, and the script marks those qualities with a lock.

Is it safe to install?

The code is readable and unminified on GitHub, GitLab, Sleazy Fork and OpenUserJS. It contains no analytics, ads or tracking code, sends nothing until you click, and talks only to nsfwdl.com.

Does it work on a phone?

On Android, use Firefox with Tampermonkey or Violentmonkey, or Microsoft Edge with Tampermonkey. On iPhone and iPad, use Safari with the free Userscripts app or Stay.

What does it send to NSFWDL?

Only the public link of the video you choose to download, when you open the panel, plus a fixed marker that says the request came from the userscript. Its settings and the list of videos you saved stay in your userscript manager.

Do I need the userscript to use NSFWDL?

No. Every site has its own downloader page on nsfwdl.com where you paste the video link. The userscript just saves you the copy and paste.