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
Post a Comment