TI.ME Posted September 20, 2018 Share Posted September 20, 2018 Good evening... Friends, I have the following situation ... At a certain point, I open a site within the Unigui system through a UniRLFrame. When the user closes that site, I need to get some information from him. How should I do this ??? I'm using Trial version 1.10 Thank you!!! Quote Link to comment Share on other sites More sharing options...
TI.ME Posted September 21, 2018 Author Share Posted September 21, 2018 Impossible??? I researched the forum and all related posts went unsolved ... Quote Link to comment Share on other sites More sharing options...
mhmda Posted September 21, 2018 Share Posted September 21, 2018 Well, it is not as easy as you think, if the site is static you may use jquery to get values. We use chromium component for delphi to send data and receive data from specific sites. It all depends on the page you load inside the iframe, and do not forget the url il loaded in the client side not in the server, for starting inspect the fields that you want to get and use jquery to get their values. Quote Link to comment Share on other sites More sharing options...
Hayri ASLAN Posted September 21, 2018 Share Posted September 21, 2018 Hi Please check HTTP Post Callback demos Quote Link to comment Share on other sites More sharing options...
TI.ME Posted September 24, 2018 Author Share Posted September 24, 2018 On 9/21/2018 at 10:31 AM, mhmda said: Well, it is not as easy as you think, if the site is static you may use jquery to get values. We use chromium component for delphi to send data and receive data from specific sites. It all depends on the page you load inside the iframe, and do not forget the url il loaded in the client side not in the server, for starting inspect the fields that you want to get and use jquery to get their values. Could you give me an example of how to get the data from a site ??? It can be any parameter of the site: http://www.sintegra.fazenda.pr.gov.br/sintegra/sintegra1/erro/empresa/consulta/02172665000108+-+CNPJ+N%C3o+Cadastrado+no+Cad.icms+Pr Thank you!!! Quote Link to comment Share on other sites More sharing options...
TI.ME Posted September 24, 2018 Author Share Posted September 24, 2018 On 9/21/2018 at 1:13 PM, Hayri ASLAN said: Hi Please check HTTP Post Callback demos I need to capture data from an external URL ... Quote Link to comment Share on other sites More sharing options...
Hayri ASLAN Posted September 24, 2018 Share Posted September 24, 2018 You can't get any parameter of external url. It is a security issue. Please check "Cross-Origin Resource Sharing" Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.