Launching a window and listening to events...electron, app and browser

Double posted, sorry.

But this guy has the same problem too Window.open listener