[Greasemonkey] addEventListener example doesn't work?

Bill Donnelly donnelly at snowcrest.net
Mon Sep 19 14:08:26 EDT 2005


I had similar problems. I can't remember if I figured out
why it was occurring, or not. Or if anyone else acknowledged
the problem, and/or helped or made suggestions. This was
sometime back. So, like the other person, I started calling
my internal function immediately and through the onload event,
to make sure it executed. I don't think calling the e.preventDefault()
function will make any difference. Sometimes doing something
as "radical" as "document.innerHTML=" doesn't sit well with
Firefox. You could try writing the new document info using
open() and document.write() into the current window.
Or try "unsafeWindow.document.innerHTML=". It could also
have something to do with the 'native wrappers' that are currently
being used for security.

-- 
Some of us Drink Deeply from
the Fountain of Knowledge.
Most people sip; too many gargle.
---------------------------------
I just ate your Soul.
Forgive me. It was juicy.
And tart on my tongue.



More information about the Greasemonkey mailing list