Last active
November 5, 2019 23:29
-
-
Save kuzminero/7e84c8917670900646f9e66e6a598614 to your computer and use it in GitHub Desktop.
emuparadise_dc_fix
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name emuparadise_dc_fix | |
// @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() { | |
document.querySelectorAll('.download-link a').forEach(el => { | |
var filename = el.getAttribute('title').replace(/(?:^Download\s|\sISO\sfor\sSega\sDreamcast$)/g, ''); | |
el.setAttribute('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