Skip to content

Instantly share code, notes, and snippets.

@Wannabe99
Forked from Eptun/emuparadisev2.eptun.user.js
Created September 8, 2019 21:40
Show Gist options
  • Save Wannabe99/110897e1eae151b075877ee44de5b7bb to your computer and use it in GitHub Desktop.
Save Wannabe99/110897e1eae151b075877ee44de5b7bb to your computer and use it in GitHub Desktop.
// ==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];
$(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