I managed to get the event in you just have to pass it through all the
levels
div2.addEventListener('click', function(ev){ doNothing(ev);}, true);
and
function doNothing(ev){ alert(ev); }
ev.source was not defined either way, but there is another way to get
the event target
On Jul 23, 9:00 pm, Anthony Lieuallen <[email protected]> wrote:
> On 7/23/2009 8:52 PM, [email protected] wrote:
>
> > Well.. it's a private site. .. Here is my entire test GM script ..
>
> Excepting the fact that "event" is undefined in that scope, that script
> works perfectly for me.
>
> My best guess at this point would be to search for other invisible
> elements that are layered above the one you are inserting, thus blocking
> the click, on your real site.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"greasemonkey-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/greasemonkey-users?hl=en
-~----------~----~----~----~------~----~------~--~---