Jump to content

Slow Download button doesn't do anything


Norah

Recommended Posts

I'm on Firefox 131.0.3 on Manjaro Linux (current version in my distro's repository), and manual downloads are working just fine for me.  I do have enhanced tracking protection turned OFF for www.nexusmods.com (shield icon left of the URL), to make sure that doesn't interfere with site functionality. 

Screenshot from 2024-11-13 11-37-06 cropped.png

(I don't have mod manager downloads set up, and don't use Vortex.  For some games, I move files manually to where they need to go.  For other games, I move them to my Mod Organizer 2 instances' download folders, and then Query Info on them inside MO2.)

Edited by AaronOfMpls
slight elaboration and revision
Link to comment
Share on other sites

Doesn't work for me either. Button doesn't even respond.

If your site requires accepting malware injections to work then it has become complete trash. https://themarkup.org/blacklight?url=www.nexusmods.com%2Fageofwonders4%2Fmods%2F90%3Ftab%3Dfiles%26file_id%3D169&device=desktop&location=us&force=true

It worked without it back then, and it still can now. Don't dump your greedy and privacy violating excuses onto users when it's you who changed the backend. Don't let your site-devs chase the never-ending latest newfangled standards from the google monopoly.

  • Like 1
Link to comment
Share on other sites

On 11/14/2024 at 6:10 PM, Bouitaz said:

Doesn't work for me either. Button doesn't even respond.

If your site requires accepting malware injections to work then it has become complete trash. https://themarkup.org/blacklight?url=www.nexusmods.com%2Fageofwonders4%2Fmods%2F90%3Ftab%3Dfiles%26file_id%3D169&device=desktop&location=us&force=true

It worked without it back then, and it still can now. Don't dump your greedy and privacy violating excuses onto users when it's you who changed the backend. Don't let your site-devs chase the never-ending latest newfangled standards from the google monopoly.

That website seems to be fairly snake-oil-y. If any of that is true it's either for good reason or it's the ads that do it rather than the website itself. Unfortunately, if you use addons or privacy settings that break the website we can't really help with that. It's completely your choice but we only have the developer resource to focus on the default setups for the most popular browsers. 

Link to comment
Share on other sites

Clicking on the Manual download button which takes me to Slow Download option clicking on it does nothing. It was working fine 2 days ago on the same exact browser with the same exact settings/addons. When I inspect the source code of the "Slow Download" button it doesn't contain any URL but has this instead: "data-download-url="#ERROR-download-location-not-found". Seems like a site problem with downloads, CDNs etc. rather than a user related one.

  • Like 1
Link to comment
Share on other sites

3 minutes ago, brk279 said:

Clicking on the Manual download button which takes me to Slow Download option clicking on it does nothing. It was working fine 2 days ago on the same exact browser with the same exact settings/addons. When I inspect the source code of the "Slow Download" button it doesn't contain any URL but has this instead: "data-download-url="#ERROR-download-location-not-found". Seems like a site problem with downloads, CDNs etc. rather than a user related one.

Please ignore what you see in the inspector. This is not an error, it's just the leftovers of a feature we removed years ago. I would suggest checking my recommended post: 

 

Link to comment
Share on other sites

  1.  I'm not using Vortex or any other mod manager to download mods, which is why I'm using Manual Download instead.
  2. I'm posting this message from the same browser (Firefox) which was working 2 days ago, except this time in troubleshooting mode, in a new profile with no addons and I also turned off enhanced tracking for Nexus. The button still not working. The Fast Download button to the right on the other hand has no issues.
  3. Download doesn't even start, so a connection issue is irrelevant.

The issue here is the script attached to that button, whatever the recent change was to that code in the past two days, changed the button's functionality and rendered it incompatible with my browser.

  • Like 1
Link to comment
Share on other sites

56 minutes ago, Pickysaurus said:

We've not made any changes to that flow in months (possibly even years!). It's more likely an update to your browser has broken the functionality. Were you able to test with a different browser? 

My browser (Firefox portable) has never been updated, in fact I specifically turned browser updates off and certainly not within the past few days, and as I've stated above, right now I'm not using any addons, browser settings are all at default (new/clear profile) in troubleshooting mode and manually turned off enchanced tracking. Clicking on "Slow Download" button does nothing, unlike the "Fast Download". Not an addon issue, not a tracking issue, the button's functionality in other words its script is the problem.

Yes, I have tried with a newer version of FF portable and the button worked there, which tells me that either the button's script or one of its dependencies has been changed/updated by Nexus which rendered it incompatible with older browsers.

EDIT:

The difference between the working button and the nonworking is that the one that works has EVENTs, in other words, it responds to clicks. The one that doesn't work on my browser (older version of FF) DOES NOT have any EVENTs attached to it, i.e. it doesn't respond to clicks, which is why it doesn't work.

The code for button that doesn't work:

nexus0.thumb.jpg.e51ac38f4bd10fa7b87611a830d04dc1.jpg

The one below works in a newer FF.

nexus1.thumb.jpg.46b3ca0105b5a4bdb1fb986e446336c8.jpg

 

Very likely caused by a recent change to the script (or its dependencies) that assigns functions to that button, which no longer seems to be able to do it. The page renders a button that does not responds to clicks because it's not assigned any functions. Likely an issue with the inline script below which seems to be the code that assigns the buttons function, at least as far as I can see on client side.

Spoiler
<script>
    function getSetTimeout() {
        const frame = document.createElement('iframe');
        document.body.appendChild(frame);
        const newTimeout = frame.contentWindow.setTimeout.bind(self);
        document.body.removeChild(frame);
        return newTimeout;
    }
    $(function () {
        const rratimaenatkmttwooeseohcberltudte = getSetTimeout();
        rratimaenatkmttwooeseohcberltudte(function () {
            $(document).scrollTop($('.page-layout').offset().top - 70);
        }, 500);
        const file_id = 1000121469;
        const game_id = 130;
        const loaebdtanhlbareocmitaiettruetvweoakmrr = 5;
        const isNmmDownload = false;
        const isPremium = false;

        $('#slowDownloadButton').click(function () {
            const downloadUrl = $(this).data('download-url');
            $('.subheader, .table').hide();

            $('.donation-wrapper').show();

            countdown(loaebdtanhlbareocmitaiettruetvweoakmrr, function () {
                startDownload(downloadUrl);
            });
        });

        $('#startDownloadButton').click(function () {
            const downloadUrl = $(this).data('download-url');
            startDownload(downloadUrl);
        });

        function startDownload(downloadUrl) {
            $('.donation-wrapper').show();
            if (isNmmDownload) {
                download(downloadUrl);
            } else {
                $.ajax(
                    {
                        type: "POST",
                        url: "/Core/Libs/Common/Managers/Downloads?GenerateDownloadUrl",
                        data: {
                            fid: file_id,
                            game_id: game_id,
                        },
                        success: function (data) {
                            if (data && data.url) {
                                download(data.url);
                            } else {
                                setError();
                            }
                        },
                        error: function () {
                            setError();
                        }
                    }
                );
            }
        }

        function download(downloadUrl) {
            window.nexusDataLayer.push({
                event: 'mod_download',
                file_id,
                download_method: isNmmDownload ? 'Vortex' : 'Manual',
            });
            window.location.href = downloadUrl;
            $('.donation-wrapper > p').html('<p>Your download has started</p><p>If you are having trouble, <a href="' + downloadUrl + '">click here</a> to download manually</p>');
        }

        function setError() {
            console.log('An error occurred');
            $('.donation-wrapper > p').html('<p>Unfortunately an error occurred while downloading this file</p><p>Please try again later or contact support</p>');
        }

        function countdown(seconds, callback) {
            if (seconds == 0) return callback();

            rratimaenatkmttwooeseohcberltudte(function () {
                seconds--;
                $('.timer').text(Math.ceil(seconds));
                if (seconds > 0) {
                    countdown(seconds, callback);
                } else {
                    callback();
                }
            }, 1000);
        }
    });
</script>

 

 

Edited by brk279
  • Like 2
Link to comment
Share on other sites

On 11/13/2024 at 1:12 AM, 7531Leonidas said:

@JaxomPern I just checked via search engine, and the latest Firefox for Linux is 132.0.  Any reason for staying on the version you have?

Could be multiple reasons: The OS or its version no longer supported by FF, e.g. 32-bit OS, Windows 7/8, older Linux distro; unable to or don't wanna update OS, graphics driver issues with new web rendering methods, unwilling to throw away hardware running perfectly etc. etc.

  • Like 1
Link to comment
Share on other sites

1 hour ago, brk279 said:

My browser (Firefox portable) has never been updated, in fact I specifically turned browser updates off and certainly not within the past few days, and as I've stated above, right now I'm not using any addons, browser settings are all at default (new/clear profile) in troubleshooting mode and manually turned off enchanced tracking. Clicking on "Slow Download" button does nothing, unlike the "Fast Download". Not an addon issue, not a tracking issue, the button's functionality in other words its script is the problem.

Yes, I have tried with a newer version of FF portable and the button worked there, which tells me that either the button's script or one of its dependencies has been changed/updated by Nexus which rendered it incompatible with older browsers.

EDIT:

The difference between the working button and the nonworking is that the one that works has EVENTs, in other words, it responds to clicks. The one that doesn't work on my browser (older version of FF) DOES NOT have any EVENTs attached to it, i.e. it doesn't respond to clicks, which is why it doesn't work.

The code for button that doesn't work:

nexus0.thumb.jpg.e51ac38f4bd10fa7b87611a830d04dc1.jpg

The one below works in a newer FF.

nexus1.thumb.jpg.46b3ca0105b5a4bdb1fb986e446336c8.jpg

 

Very likely caused by a recent change to the script (or its dependencies) that assigns functions to that button, which no longer seems to be able to do it. The page renders a button that does not responds to clicks because it's not assigned any functions. Likely an issue with the inline script below which seems to be the code that assigns the buttons function, at least as far as I can see on client side.

  Reveal hidden contents
<script>
    function getSetTimeout() {
        const frame = document.createElement('iframe');
        document.body.appendChild(frame);
        const newTimeout = frame.contentWindow.setTimeout.bind(self);
        document.body.removeChild(frame);
        return newTimeout;
    }
    $(function () {
        const rratimaenatkmttwooeseohcberltudte = getSetTimeout();
        rratimaenatkmttwooeseohcberltudte(function () {
            $(document).scrollTop($('.page-layout').offset().top - 70);
        }, 500);
        const file_id = 1000121469;
        const game_id = 130;
        const loaebdtanhlbareocmitaiettruetvweoakmrr = 5;
        const isNmmDownload = false;
        const isPremium = false;

        $('#slowDownloadButton').click(function () {
            const downloadUrl = $(this).data('download-url');
            $('.subheader, .table').hide();

            $('.donation-wrapper').show();

            countdown(loaebdtanhlbareocmitaiettruetvweoakmrr, function () {
                startDownload(downloadUrl);
            });
        });

        $('#startDownloadButton').click(function () {
            const downloadUrl = $(this).data('download-url');
            startDownload(downloadUrl);
        });

        function startDownload(downloadUrl) {
            $('.donation-wrapper').show();
            if (isNmmDownload) {
                download(downloadUrl);
            } else {
                $.ajax(
                    {
                        type: "POST",
                        url: "/Core/Libs/Common/Managers/Downloads?GenerateDownloadUrl",
                        data: {
                            fid: file_id,
                            game_id: game_id,
                        },
                        success: function (data) {
                            if (data && data.url) {
                                download(data.url);
                            } else {
                                setError();
                            }
                        },
                        error: function () {
                            setError();
                        }
                    }
                );
            }
        }

        function download(downloadUrl) {
            window.nexusDataLayer.push({
                event: 'mod_download',
                file_id,
                download_method: isNmmDownload ? 'Vortex' : 'Manual',
            });
            window.location.href = downloadUrl;
            $('.donation-wrapper > p').html('<p>Your download has started</p><p>If you are having trouble, <a href="' + downloadUrl + '">click here</a> to download manually</p>');
        }

        function setError() {
            console.log('An error occurred');
            $('.donation-wrapper > p').html('<p>Unfortunately an error occurred while downloading this file</p><p>Please try again later or contact support</p>');
        }

        function countdown(seconds, callback) {
            if (seconds == 0) return callback();

            rratimaenatkmttwooeseohcberltudte(function () {
                seconds--;
                $('.timer').text(Math.ceil(seconds));
                if (seconds > 0) {
                    countdown(seconds, callback);
                } else {
                    callback();
                }
            }, 1000);
        }
    });
</script>

 

 

I appreciate you taking the time to dig into this.

You're right, if no events are attached to the button it will not work. However, those events are attached using JavaScript which is often blocked by browsers being a bit overzealous on privacy/security. It may also be that something got updated as part of a routine security upgrade which is now breaking it for your specific browser. 

I'm afraid we can't support outdated browsers - it would be a very poor use of our limited developer time to test every possible variant of every browser. We prioritise support for the latest versions of the most popular browsers used by our community in their default configuration (no add-ons or optional settings enabled). The list of browsers is as follows:

  • Google Chrome
  • Mozilla Firefox
  • Microsoft Edge
  • Opera
  • Yandex
  • Chrome Mobile
  • Safari Mobile

I would recommend that you at least use the latest Firefox to avoid problems like this in future. 

It's safe to say if this were a problem on our end, many more users would be reporting it. Unfortunately, something specific you set up is causing the problem. 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...