mirror of
https://github.com/stefanocasazza/ULib.git
synced 2025-10-12 20:27:27 +08:00
11 lines
347 B
JavaScript
11 lines
347 B
JavaScript
|
|
function doOnLoad(URL, redirurl) {
|
|
|
|
popup = window.open(URL, 'logout_popup', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=800,height=600');
|
|
|
|
if (redirurl) { self.location = redirurl; }
|
|
}
|
|
|
|
function CloseItOnClick() { window.close(); }
|
|
function CloseItAfterSomeTime() { setTimeout("window.close();", 5 * 1000); }
|