|
BugTraq
Browser bugs hit IE, Firefox today (SANS) Jun 30 2006 12:17AM Bill Stout (bill stout greenborder com) (1 replies) Re: Browser bugs hit IE, Firefox today (SANS) Jun 30 2006 05:19PM Alex Potter (alex ap-consulting co uk) (1 replies) Re: Browser bugs hit IE, Firefox today (SANS) Jul 04 2006 11:24AM Thor Larholm (thor polypath com) (2 replies) Re: Browser bugs hit IE, Firefox today (SANS) Jul 04 2006 11:58PM Paul Szabo (psz maths usyd edu au) |
|
Privacy Statement |
> However, reading the contentDocument property of the DOM element instead
> of the through the frames collection will give you a reference to the
> document object inside the thirdparty domain and even allow you to
> overwrite native DOM methods without throwing a security exception, such
> as
> document.getElementById("thirdparty").contentDocument.getElementById=fun
ction(s){alert(s)}.
This code throws an exception in Firefox 1.5.0.4:
"Error: uncaught exception: Permission denied to set property
HTMLDocument.getElementById
"
Just obtaining a reference to the contentDocument works, but any
action on it throws an error.
[ reply ]