Skip to content

Instantly share code, notes, and snippets.

@Wannabe99
Forked from Eptun/emuparadise.eptun.user.js
Created January 26, 2020 23:17
Show Gist options
  • Save Wannabe99/2176bf50c6fa9db57ad4fe2c89bbba32 to your computer and use it in GitHub Desktop.
Save Wannabe99/2176bf50c6fa9db57ad4fe2c89bbba32 to your computer and use it in GitHub Desktop.
// ==UserScript==
// @name EmuParadise Download Workaround - 1.1.1
// @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';
var id = ((document.URL).split("/"))[5];
$(".download-link").prepend(`<a target="_blank" href="/roms/get-download.php?gid=`+id+`&test=true" title="Download using the workaround script">Download using the workaround script</a><br><br>`);
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment