Adds download buttons linking directly to available video files on Xtube.
Adds a download button to Xtube and Pornhub.
Update 2/6/20
- Compatibility fix. Due to Xtube's usage of Polymer, it's no longer possible to embed elements into the page without a lot of monkey patching, so the script now inserts the download buttons in a modal in the bottom right corner of the page.
Update 10/18/19
- Made downloaded file names match the video title and resolution. Needed because Xtube started serving all MP4 files with the same name. This workaround requires the use of a CORS proxy because the videos downloads are cross-origin. If you don't like downloading porn through one, you can still right click the download button and click "Save link as...".
Update 4/16/18
- Compatibility fix for Xtube's video player update
Update 5/18/17
- Fixed compatibility for Xtube's switch to SSL
Update 2/8/17
- Updated for new video player
Update 12/21/16