I want to prevent iframe
elements from triggering the OnDocumentComplete
event every time. For example, a page has 4 iframes, and when I load this page, my OnDocumentComplete
event runs 4 times. I want to run OnDocumentComplete
just once for every page. How can I do that?
Maybe I could remove or block iframes
in TWebBrowser
control.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…