Is there a way to get the source of the current document displayed in the
Mozilla control? The Delphi code below works with the IE WebBrowser object,
but not with the Mozilla control:
function TnbWebBrowser.GetDocumentSource: WideString;
var
str: TStringStream;
begin
str := TStringStream.Create('');
(Document as IPersistStreamInit).Save(TStreamAdapter.Create(str), True);
Result := str.DataString;
str.Free;
end;
Thanks,
--
Nick Bradbury
TopStyle CSS/HTML Editor
FeedDemon RSS Reader
http://www.bradsoft.com
_______________________________________________
mozilla-embedding mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-embedding