Nexus No Wait

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

目前为 2019-12-23 提交的版本。查看 最新版本

// ==UserScript==
// @name        Nexus No Wait
// @description Download from Nexusmods.com without wait and redirect (support Manual/Vortex)
// @namespace   NexusNoWait
// @include     https://www.nexusmods.com/*/mods/*
// @run-at      document-idle
// @version     1.1
// @require			http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js
// ==/UserScript==


$(document).on( 'click', '.btn', function( event ) {
		var href = $(this).attr('href');
  	if (~href.indexOf("file_id")){
      event.preventDefault();
      $.get( href, function( data ) {
        var slow = $(data).find('#slowDownloadButton');
        var downloadUrl = slow.data('download-url');
        document.location.href = downloadUrl;
      });
      var popup = $(this).parent();
      if (popup.hasClass('popup')){
        popup.children("button").click();
      }
      $(this).css("color", "green");
      $(this).text('LOADING');
  	}
});

QingJ © 2025

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