Sleazy Fork is available in English.

Xnxx Download Movie Button

Add a link button to the movie

// ==UserScript==
// @name         Xnxx Download Movie Button
// @namespace    http://tampermonkey.net/
// @version      0.1
// @description  Add a link button to the movie
// @author       Guile93
// @match        https://www.xnxx.com/*
// @icon         https://www.google.com/s2/favicons?sz=64&domain=xnxx.com
// @grant        none
// @license MIT
// ==/UserScript==
(function() {
    'use strict';
    function useRegex(input) {
    let regex = /"contentUrl": "[^"]*"/i;
    var stepa = input.match(regex);
        return stepa;
    }

function extractAllText(str){
  const re = /"(.*?)"/g;
  const result = [];
  let current;
  while (current = re.exec(str)) {
    result.push(current.pop());
  }
  return result[1];
}
    var docum=document.getElementsByTagName('head')[0].innerHTML;
    var momo=extractAllText(useRegex(docum));
    var css = `
      .btnDOWN{
            background-color: #CC0000;
            border: 1px solid brown;
            height:30px;
            border-radius: 6px;
            margin-top:2px;
            box-sizing: border-box;
            color: #fff;
            cursor: pointer;
            display: inline-block;
            font-size: 12px;
            font-weight: 600;
            line-height: 20px;
            position: relative;
            float: right;
            text-align: center;
            touch-action: manipulation;
            vertical-align: middle;
          }
          .btnDOWN:hover {
            background-color: #FF0000;
          }
          `
    var head = document.getElementsByTagName('head')[0];
    var s = document.createElement('style');
    s.setAttribute('type', 'text/css');
    s.appendChild(document.createTextNode(css));
    head.appendChild(s);
    let btn = document.createElement("button");
    btn.innerHTML = "DOWNLOAD";
    btn.name="movieDownload";
    btn.className="btnDOWN";
    btn.addEventListener("click", function () {
     window.open(momo);
    });
    document.getElementsByClassName('header-icons')[0].appendChild(btn);
    })();