[Project_owners] Populating a browser object with HTML from a string

Didier Ernotte didier at ernotte.com
Sat May 21 05:45:52 EDT 2005


Hi,

I have to set the content of a browser object from an HTML string. With
FF 1.0.x, my extension works fine with this:

var browser = document.createElement("browser");
parent.appendChild(browser);
var doc = browser.contentDocument;
doc.write("<html><body>.......</body></html>");

but this doesn't work with FF 1.1. Is the "doc.write" not allowed any
more ? What is the best way to do this in FF 1.1 ?
Thanks

Didier


More information about the Project_owners mailing list