sindresorhus/opn

Do you want to work on this issue?

You can request for a bounty in order to promote it!

Listen when a window opened by "open" is closed #111

knandraina posted onGitHub

Hi

I try to implement google calendar API through Node.js into my app. I open the authentification link through "open" module, and I would like to know when the person has closed the window to retrieve the information about this page. Indeed, I need a code in the link to be allowed to accessing his/her calendar. Currently I can only know when the browser is closed, but it's not relevant in my case.

Do you know if it's possible? As I'm new into the web development world, don't hesitate to guide me if I make a big mistake :)

Knandraina


This has been opened since dec 2018 -- I was wondering if there has been an updates on this. I want to know how I can listen to when a window has been closed.

posted by hsheikhali almost 5 years ago

A workaround is to use {newInstance: true, wait: true}

posted by nicolaibach over 3 years ago

Fund this Issue

$0.00
Funded
Only logged in users can fund an issue

Pull requests