Nexus No Wait

Download from Nexusmods.com without wait and redirect (support Manual/Vortex/MO2/NMM)

< Feedback op Nexus No Wait

Vraag/Reactie

§
Geplaatst: 16-02-2020

Fix for mod requirement downloads

For example: https://www.nexusmods.com/skyrimspecialedition/mods/31300?tab=files

I've marked the lines changed with // <--

    var href = this.href; // <--
    if (href.indexOf("file_id") >= 0 || href.indexOf("ModRequirementsPopUp") >= 0) { // <--
        event.preventDefault();
        var button = $(this);

        button.css("color", "yellow");
        button.text('WAIT');

        var game_id = document.getElementById("section").dataset.gameId;
        var search_params = new URL(href).searchParams; // <--
        var file_id = search_params.get("file_id");
        if (!file_id) // <--
            file_id = search_params.get("id"); // <--

Reactie plaatsen

Log in om antwoord te geven.