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 "\" -

web applications - Making Python scripts work on MAMP -

cocoa - Converting NSString to keyCode+modifiers for AXUIElementPostKeyboardEvent -