[Greasemonkey] xpcwrapper

arantius at gmail.com arantius at gmail.com
Fri Aug 11 12:46:27 EDT 2006


On 8/11/2006 10:47 AM, Edward Kawas wrote:
> How does one access the SpanElement in
> 	[object XPCNativeWrapper [object HTMLSpanElement]]

For any XPCNativeWrapper object:

object.wrappedJSObject

But as the documentation suggests, this should be done only when "unsafe 
access to a property is required for some reason" which is usually not 
the case.
http://developer.mozilla.org/en/docs/XPCNativeWrapper#Accessing_unsafe_properties



More information about the Greasemonkey mailing list