Page 1 of 1

How to run js in the second window?

Posted: Wed Feb 26, 2025 4:01 am
by was
When main window open link in a new window, how to run js in the new window?
thanks.

Re: How to run js in the second window?

Posted: Wed Feb 26, 2025 10:17 am
by salvadordf
Hi,

Use the code in the PopupBrowser2 demo in your application to handle popup windows with Delphi forms.
Then you'll be able to run JS in the child form as usual.