-
-
Save lucaslealdev/f1cfe2e7467ed2cdd12a91eff5f1c786 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name EmuParadise download script | |
// @version 1 | |
// @description Downloads games directly after clicking their name | |
// @author Eptun | |
// @require http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js | |
// @match https://www.emuparadise.me/*/*/* | |
// @grant none | |
// ==/UserScript== | |
(function() { | |
'use strict'; | |
$(".gamelist").each(function(i) { | |
var id = $(this).attr('href').split("/")[3]; | |
id = id.replace('-download',''); | |
$(this).attr('href', "/roms/get-download.php?gid="+id+"&test=true"); | |
}); | |
$(".download-link a").each(function(i) { | |
var id = $(this).attr('href').split("/")[3]; | |
id = id.replace('-download',''); | |
$(this).attr('href', "/roms/get-download.php?gid="+id+"&test=true"); | |
}); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment