Last active
October 14, 2018 21:15
-
-
Save jbmagination/840306ca6335fffad3fb78e47d079288 to your computer and use it in GitHub Desktop.
Now a proper gist so that Greasemonkey can find it. Click "Raw" for it to ask if you want to install it.
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 Download Workaround | |
// @version 1.1.2 | |
// @description Replaces the download button link with a working one. | |
// @author Eptun | |
// @match https://www.emuparadise.me/*/*/* | |
// @require http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js | |
// @grant none | |
// ==/UserScript== | |
(function() { | |
'use strict'; | |
const id = document.URL.split('/')[5]; | |
$('.download-link').children()[0].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