Skip to content

Instantly share code, notes, and snippets.

@kuzminero
Last active November 4, 2019 23:29
Show Gist options
  • Save kuzminero/c780430acdc63fc9aeddf743a7257db0 to your computer and use it in GitHub Desktop.
Save kuzminero/c780430acdc63fc9aeddf743a7257db0 to your computer and use it in GitHub Desktop.
// ==UserScript==
// @name emuparadise_dc
// @namespace http://tampermonkey.net/
// @version 1.0
// @description Workaround for downloading Dreamcast roms from Emuparadise.me
// @author ichkommepostal
// @match https://www.emuparadise.me/Sega_Dreamcast_ISOs/*/*
// @grant none
// ==/UserScript==
(function() {
'use strict';
$('.download-link a').each(function(i, e) {
var filename = $(this).attr('title').replace(/(?:^Download\s|\sISO\sfor\sSega\sDreamcast$)/g, '');
$(this).attr('href', 'http://162.210.194.49/happyxhJ1ACmlTrxJQpol71nBc/Dreamcast/' + encodeURI(filename));
});
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment