Controllable-Window

Posted at



function ( event ) {
event.preventDefault();
var popupURL = event.currentTarget.href;
var popupTitle = event.currentTarget.title;
// open a popup window
// when it is closed, kick off the tests again
var popupWin = window.open( popupURL, popupTitle, '' );
var popupWinTimer= window.setInterval( function() {
if ( popupWin.closed !== false ) {
window.clearInterval( popupWinTimer );
publicizeConnTestStart();
}
}, 500 );
}
', 'JavaScript Snippet - A Chrome-Compatible