JS in the Closed window Method Window.close () on IE can be normal action, and in Firefox and Chrome can not action.
(At that time, on the Chrome35.0 is still possible, Chrome36.0 can not move the JS in the method of closing the window window.close () on IE can be normal action, and in Firefox and Chrome on the action.
(At that time, on the Chrome35.0 is still possible, Chrome36.0 can not act on it)
The workaround on Firefox is as follows (verified)
Enter About:config in the Firefox address bar to set dom.allow_scripts_to_close_windows in the configuration list to True
There are two workarounds on Chrome (both of which should be possible on Firefox, but not verified)
Reference Page Http://stackoverflow.com/questions/2032640/problem-with-window-close-and-chrome
Method One: window.open (...) window.open (' ', ' _self ', '); Window.close ();
Method Two: window.open (...); SetTimeout (function () {window.open (', ' _self ', '); Window.close (); }, 100);
Window.close in JavaScript does not work properly on Firefox and Chrome