How do I close the current browser tab? The following aren't working.
JavaScript.getCurrent().execute("window.close();");
or
UI.getCurrent().removeWindow(window);
or
window.close();
See Question&Answers more detail:osHow do I close the current browser tab? The following aren't working.
JavaScript.getCurrent().execute("window.close();");
or
UI.getCurrent().removeWindow(window);
or
window.close();
See Question&Answers more detail:os