Skip to content

Instantly share code, notes, and snippets.

@T1mL3arn
Forked from Eptun/emuparadisev2.eptun.user.js
Created August 28, 2018 12:20
Show Gist options
  • Save T1mL3arn/489dac9233da518f1f8d65725f6b5c63 to your computer and use it in GitHub Desktop.
Save T1mL3arn/489dac9233da518f1f8d65725f6b5c63 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 https://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