2009-11-19 02:07:38 -08:00
|
|
|
<?xml version="1.0"?> <!-- -*- Mode: HTML -*- -->
|
2007-03-22 10:30:00 -07:00
|
|
|
|
|
|
|
<!DOCTYPE window>
|
|
|
|
|
|
|
|
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
|
|
|
id="open10Windows"
|
|
|
|
onload="onload();">
|
2009-11-19 02:07:38 -08:00
|
|
|
<script type="application/javascript">
|
2007-03-22 10:30:00 -07:00
|
|
|
<![CDATA[
|
|
|
|
const n = 11;
|
|
|
|
var sub = [];
|
|
|
|
function onload() {
|
|
|
|
var i = n;
|
|
|
|
while( i-- ) {
|
|
|
|
window.setTimeout( 'sub[n] = openMiniXul();', i*1000 );
|
|
|
|
}
|
|
|
|
window.setTimeout( 'shutDown();', n*1000 );
|
|
|
|
}
|
|
|
|
function openMiniXul(n) {
|
|
|
|
return window.openDialog("chrome://navigator/content/miniXul.xul","_blank","","chrome,all");
|
|
|
|
}
|
|
|
|
function shutDown() {
|
|
|
|
var i = n;
|
|
|
|
while( i-- ) {
|
|
|
|
sub[i].close();
|
|
|
|
}
|
|
|
|
window.close();
|
|
|
|
}
|
|
|
|
]]>
|
|
|
|
</script>
|
|
|
|
</window>
|