Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save wh0am1-dev/c8e5240ff60aaa5d5c45eabeb624b7cb to your computer and use it in GitHub Desktop.
Save wh0am1-dev/c8e5240ff60aaa5d5c45eabeb624b7cb 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