Popup Blocker Test - P_WINDOW_REOPEN
- Popup Windows Open Again If They Are Closed - Developed by FYIcenter.com
Popup Behavior: A single popup window that will open again if you close it.
Source Code Note: JavaScript codes used to check the closed status.
Click your mouse here to start P_WINDOW_REOPEN test...
Click your mouse here to stop P_WINDOW_REOPEN test...
If you don't see any popup windows, your popup blocker works on this popup test case.
HTML and JavaScript Codes Used by This Test
<a href="javascript:pWindowSetTimeoutTest();">Click...
...
<script>
/*
* Popup Blocker Test - P_WINDOW_REOPEN
* - Popup Windows Open Again If They Are Closed
*
* A single popup window that will open again if you close
* it. JavaScript codes used to check the closed status.
*
* Version of 2007.01.01
* Download at http://sqa.fyicenter.com/tools/
* Copyright (C) 2007 FYIcenter.com. All rights reserved.
*/
function pWindowReopenStart() {
fyicenterTimer = window.setInterval(pWindowReopen,1000);
}
function pWindowReopenStop() {
window.clearInterval(fyicenterTimer)
}
function pWindowReopen() {
if (typeof fyicenterWin == 'undefined' || fyicenterWin...
fyicenterWin = window.open('popup_blocker_test_popu...
'', 'toolbar=no,scrollbars=no,resizeable=no,widt...
}
}
</script>
|