Firemonkey – Get clicked hyperlinks in TWebBrowser

  

I have a browser app with TWebBrowser and a TEdit on my form. When I enter URL in TEdit it will display the content on the page. Now if I click some link the page then the app should load the new page and update the TEdit to the new URL (similar to any browser). I tried using TWebBrowser.URL property but it intercepts all the scripting calls as well i.e., for ex. if I open gmail in browser and click signin link, IE is displaying correct link(https://accounts.google.com/signin/v2/identifier?continue=https%3A%2F%2Fmail.google.com%2Fmail%2F&service=mail&sacu=1&rip=1&flowName=GlifWebSignIn&flowEntry=ServiceLogin) but firemonkey app shows some different url. Is there any way to get these URL’s in Firemonkey?

Comments are closed.