Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
// ==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>`);
})();
@sheeit

This comment has been minimized.

Copy link

commented Nov 4, 2018

Re-write with no jQuery:

// ==UserScript==
// @name	EmuParadise Download Workaround - 0.0.1
// @version	0.0.1
// @description	Replaces the download button link with a working one
// @author	strupo (based on Epton (https://gist.github.com/Eptun/3fdcc84552e75e452731cd4621c535e9/))
// @match	https://www.emuparadise.me/*/*/*
// @grant	none
// ==/UserScript==

(function() {
	'use strict';

	var id = encodeURIComponent(((document.URL).split('/'))[5]);
	var suf = '<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 />';
	Array.from(
		document.getElementsByClassName('download-link')
	).map(dl => {
		dl.innerHTML = suf + dl.innerHTML;
	});
})();
@xivchrixx

This comment has been minimized.

Copy link

commented Jan 29, 2019

uhm sir why this wont work it only open to new tab

@ZingZonZot

This comment has been minimized.

Copy link

commented Mar 8, 2019

Worked perfectly thanks man!

@xivchrixx
If you have Chrome/Firefox install an addon called tamper monkey, select tampermonkey and go to the dashboard to ensure it installed may need to refresh tampermonkys dashboard page after, and then click the "RAW" button on here to get it to install to tampermonkey and you should be able to download again.

@boquetipo

This comment has been minimized.

Copy link

commented Apr 20, 2019

Hi, the script works great except when there is more than one link.
For instance: https://www.emuparadise.me/Sega_Dreamcast_ISOs/Bangai-O_(Europe)(En,Fr,De)/51555

Sega DC games has CDI and GDI isos, and I think there is something left in the download link. I tested with a sufix, but it doesn't work.

@Xirious

This comment has been minimized.

Copy link

commented May 7, 2019

Hi, the script works great except when there is more than one link.

Any fix for this yet?

@graschbaten

This comment has been minimized.

Copy link

commented Jun 14, 2019

I can´t download any Dreamcast game. There is a clean white Site after clicking download with Script . Older Consoles worked

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.