corrosiontears

Tampermonkey® - EmuParadise Download Workaround - 1.1.1

Apr 25th, 2020
692
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // ==UserScript==
  2. // @name         EmuParadise Download Workaround - 1.1.1
  3. // @version      1.1.2
  4. // @description  Replaces the download button link with a working one
  5. // @author       Eptun
  6. // @match        https://www.emuparadise.me/*/*/*
  7. // @require      http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js
  8. // @grant        none
  9. // ==/UserScript==
  10.  
  11. (function() {
  12.     'use strict';
  13.  
  14.     var id = ((document.URL).split("/"))[5];
  15.     $(".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>`);
  16. })();
Add Comment
Please, Sign In to add comment