Disclosure Statement: This site contains affiliate links, which means that I may receive a commission if you make a purchase using these links. As an eBay Partner, I earn from qualifying purchases.
If you find these projects useful please consider becoming a sponsor with Patreon, GitHub or Liberapay.

How to run js in the second window?

Post Reply
was
Posts: 4
Joined: Sun Jan 22, 2023 2:02 pm

How to run js in the second window?

Post by was »

When main window open link in a new window, how to run js in the new window?
thanks.
User avatar
salvadordf
Posts: 4620
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: How to run js in the second window?

Post 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.
Post Reply