On 04/13/10 08:18, ppgl wrote:
In my case, a Greasemonkey script modifies the rendered page by
inserting an img element to the page. This image has an onmousemove
attribute. ..

Probably I am stuck because of the GM sandbox being separated form the
page DOM? What are my alternatives then?

Pitfall #2.  Use event listeners, not "on___" properties.

http://wiki.greasespot.net/Avoid_Common_Pitfalls_in_Greasemonkey

--
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.

Reply via email to