|
i did some modification in order to work as of 19 March 2011
if you want replace all the code with this
// ==UserScript==
// @name Rom Hustler Hack
// @namespace http://dophin.name/romhustler/hack
// @description Download rom from rom list directly. If you have any suggestions or find any bugs, please email me(torshie at gmail dot com). (Modified by WindPower)
// @include http://romhustler.net/roms/*
// @include http://romhustler.net/*
// ==/UserScript==
f = document.getElementById("content").innerHTML;
var directLink = getLink(f);
var newLI = document.createElement('p');
newLI.innerHTML = ' Click here to download without waiting !!! ';
function c1(q,root){return document.evaluate(q,root?root:document,null,9,null).singleNodeValue;}
tab = c1('.//p[contains(@id,"rom")]');
tab.parentNode.insertBefore(newLI, tab);
function getLink(text) {
pattern = / js = text.match(pattern);
eval(js[1]);
return link;
}
|