Код: Выделить всё
Frames:=WebBrowser.OleObject.Document.Frames;
for i:=0 to Frames.Length-1 do
If Frames.item(i).name='...' then
s:=Frames.item(i).document.body.innerHTML;
Код: Выделить всё
WebBrowser.ControlInterface.Document.QueryInterface(IHTMLDocument2,iDoc);
if not assigned(iDoc) then Exit;
iDoc.QueryInterface(IHTMLDocument2,Frames);
if not assigned(Frames) then Exit;