Last active
January 24, 2017 15:45
-
-
Save namomo/e7d465428a1ba4e27895 to your computer and use it in GitHub Desktop.
window close
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function closeWindow() | |
{ | |
window.open("about:blank","_self").close(); // 새창 열기를 통해 열어진 윈도우 닫기 | |
// or | |
self.opener = self; // 기본적으로 창 닫기 | |
window.close(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment