-
-
Save beardypig/8abeeec164f0eeec9d9cd4ea7a8f1f0d to your computer and use it in GitHub Desktop.
This file contains 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 Downloader - 1.2.0 | |
// @version 1.2.0 | |
// @description Replaces the download button link with a working one | |
// @author beardypig (based on emuparadise.eptun.user.js) | |
// @match https://www.emuparadise.me/*/*/* | |
// @require http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js | |
// @grant none | |
// ==/UserScript== | |
(function() { | |
'use strict'; | |
var id = ((document.URL).split("/"))[5]; | |
$(".download-link a").each(function() { this.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