Best way to close popup window after completion?

Hi all :slight_smile:

I have a link on a page, to open a popup which runs a script to open a default browser window.
I need the popup to close automatically after completion.

What is the best/most reliable way to do that please ?

Many thanks,

Zoe

p.s. Also as a side question, is the CEF browser used affected by popup blockers at all please ? If so, what should I advise users to “do” to get around it ? Or is it not an issue with CEF ?

I found this method:

image

but is it reliable/compatible/up to date please ?

Many thanks,

Zoe

Sure, JavaScript will still be supported in the future, especially window.close.