[Greasemonkey] AdOutput
Mark Pilgrim
pilgrim at gmail.com
Tue Jun 7 16:57:10 EDT 2005
On 6/7/05, Scott Turner <srt19170 at gmail.com> wrote:
> GreaseMonkey challenge: http://www.adoutput.com/
window.addEventListener('load', function() {
if (typeof GF_fFJ1 == "undefined") { return; }
for (var i = document.links.length - 1; i >= 0; i--) {
var elmLink = document.links[i];
if (elmLink.ooc) {
elmLink.onclick = elmLink.ooc;
} else {
elmLink.onclick = null;
}
}
}, true);
--
Cheers,
-Mark
More information about the Greasemonkey
mailing list