mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-03 22:38:41 +09:00
12 lines
200 B
JavaScript
12 lines
200 B
JavaScript
|
|
var count = 0;
|
||
|
|
function timerFunction() {
|
||
|
|
if (++count == 30) {
|
||
|
|
close();
|
||
|
|
postMessage("ready");
|
||
|
|
while (true) { }
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
for (var i = 0; i < 10; i++) {
|
||
|
|
setInterval(timerFunction, 500);
|
||
|
|
}
|