DropGalaxy Bypasser

This userscript will auto-click the buttons and redirect to the final download URL.

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

// ==UserScript==
// @name         DropGalaxy Bypasser
// @namespace    http://tampermonkey.net/
// @version      1.6
// @description  This userscript will auto-click the buttons and redirect to the final download URL.
// @author       Rust1667
// @match        https://dropgalaxy.com/drive/*
// @match        https://dropgalaxy.co/drive/*
// @match        https://dropgalaxy.co/disk/*
// @match        https://dropgalaxy.com/disk/*
// @match        https://financemonk.net/*
// ==/UserScript==


// 1st PAGE - click the hidden button inmediately
function clickButton(selector) {
    var button = document.querySelector(selector);
    if (button) {
        button.click();
        console.log('Button with selector ' + selector + ' clicked!');
    } else {
        console.log('Button with selector ' + selector + ' not found!');
    }
}
clickButton('#method_free');


// 2nd PAGE - 16 seconds delay to click the initially blocked #downloadbtn
const clickIfNotDisabled = (buttonSelector) => {
    let intervalId = setInterval(() => {
        let button = document.querySelector(buttonSelector);
        if (!button.hasAttribute('disabled') && !button.classList.contains('disabled')) {
            clearInterval(intervalId);
            setTimeout(function() {
                button.click();
            }, 500)
        }
    }, 500);
};
clickIfNotDisabled('#downloadbtn')


// 3rd PAGE - Extract the download link as soon as it is available
var intervalId2 = setInterval(function() {// Keep checking if link is available, every 1s
    var downloadUrl = document.getElementById('dllink').getAttribute('action');
    if (downloadUrl) {
        clearInterval(intervalId2);
        alert('Press OK to go to the download link:\n' + downloadUrl);
        window.location.assign(downloadUrl)
    }
}, 1000);