Unified way of closing a browser window in JavaScript? -


is there way close browser window, guaranteed? last time heard, calling window.close() or self.close() works when current window launched window. there way majority of browsers close current window when isn't so?

there no way close parent window via script without prompting in major browser.

so nope, no guarantees. on child window, window.close , self.close both work great.


Comments

Popular posts from this blog

delphi - TJvHidDeviceController "DevicePath" always showing "\" -

Disabling Android home button for industry application -

java - where to store the user credentials in an enterprise application(EAI)? -