-
Notifications
You must be signed in to change notification settings - Fork 0
/
particle_core.html
46 lines (40 loc) · 1.45 KB
/
particle_core.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<html>
<body onload="particle()">
<script>
function particle() {
function sleep(ms) {
return new Promise(resolve => setTimeout(resolve, ms));
}
var windows = [
'reportLists.php?listId=134&type=C', // last window
'reportLists.php?listId=118&type=C&instanceId=11',
'reportLists.php?listId=118&type=C',
'reportLists.php?listId=116&type=C',
'reportLists.php?listId=178&type=c',
'reportLists.php?listId=184&type=c',
'reportLists.php?listId=180&type=c',
'reportLists.php?listId=179&type=c',
'reportLists.php?listId=177&type=c',
'reportLists.php?listId=172&type=c&instanceId=11',
'reportLists.php?listId=172&type=c',
'reportLists.php?listId=119&type=c&instanceId=11',
'reportLists.php?listId=119&type=C',
'reportLists.php?listId=176&type=c',
'reportLists.php?listId=137&type=c',
'matrix.php?vLimit=21236&calc=true', // second window etc.
'matrix.php?vLimit=6030&calc=true' // first/current window
];
var arrayLength = windows.length;
async function display() {
for (var i = 0; i < arrayLength - 1; i++) { // skip the last array item
window.open(windows[i]);
await sleep(200); // avoid windows from not opening due to server restrictions
}
window.location.assign(windows[i]); // first/current window
}
display();
return true;
}
</script>
</body>
</html>