contentDocument.body.appendChild gives error

Written by kishore

I got an iframe of different domain than mine and I got firefox security a little down by setting tis stuff to “allAccess”.

Now I can do frame.contentDocument.createElement(“div”); all without any error (not even the permision denied) I can set the innerHTML all fine and dandy. The problem is when I use frame.contentDocument.body.appendChild. I resolved the permision denied issue by enabling firefox policies to allAccess but now I get this error:

[Exception… “Node cannot be inserted at the specified point in the hierarchy” code: “3″ nsresult: “0×80530003 (NS_ERROR_DOM_HIERARCHY_REQUEST_ERR

I want to append a div to the body of an iframe who’s on a different domain. This is firefox specific and I don’t care with compatibility. How can I resolve that issue?

If I can execute javascript within the iframe that would be great. I have no control of coding of the site the iframe display’s

Thank you

Read the original post:
contentDocument.body.appendChild gives error

Feb
18

applet through socks proxy

Written by kishore

Hi everyone,

I configured the browser and java to use a socks proxy (configured with ssh/putty) to load an applet, but when trying to :

Code:

network: Connecting https://192.168.81.230/TelorbMgrToolboxPlugin/lib/TelORBManager.jar with proxy=HTTP @ /127.0.0.1:60000
java.net.SocketException: Unexpected end of file from server

Feb
17