[PrivateHD.to] Fix Beta Downloads

Trying to download through beta beta.privatehd.to/download/torrent/*.torrent causes a 500 error. Simple bug fix to resolve this.

// ==UserScript==
// @name         [PrivateHD.to] Fix Beta Downloads
// @namespace    pxgamer
// @version      0.2.0
// @description  Trying to download through beta beta.privatehd.to/download/torrent/*.torrent causes a 500 error. Simple bug fix to resolve this.
// @author       pxgamer
// @include      *beta.privatehd.to/*
// @grant        none
// ==/UserScript==
/*jshint multistr: true */

(function() {
    'use strict';

    $('a[href^="https://beta.privatehd.to/download/"]').each(function(){
        let newLink = $(this).attr('href').replace('beta.','');
        $(this).attr('href', newLink);
    });
})();

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址