Trouble with OnNavigateComplete

denral

Member
I’m not having any luck with the OnNavigateComplete function in my UserMain script. It’s not firing after the pages have finished loading on my home page, youtube.com or https://www.gdgsoft.info

procedure OnNavigateComplete(URL: String);
begin
//When a page has been displayed.
MessageDlg(URL, “URL Test”, mtInformation, [mbOK]);
end;

thanks!
 
I’ve also tried GetCurrentHTMLPagePath many different ways and no luck either…

I’ve tried in HEscript functions and it’s always returned as undefined.

Seems I cannot post code here either for examples.
 
Yes, it’s now firing on everything… Only problem I see is multiple URL’s are firing too… So I guess detecting the main URL/frame is needed because I’m seeing it fire multiple times. So on this page it starts with about:blank, then the main url, then a frame is on the page, then lastly a chat popup fires twice. I guess this is what we want?

jAMBlLT.png
 
Back
Top