summaryrefslogtreecommitdiff
path: root/kiwiirc/auto.html
blob: a6ad882d4e9506df24160ab8d2d5ef68c56efdee (plain)
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
47
48
<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="user-scalable=no, width=device-width, initial-scale=1, maximum-scale=1">
    <link rel="icon" type="image/png" href="static/favicon.png">
    <title>Kiwi IRC</title>
    <script>
	    localStorage.removeItem('kiwi-state');
    </script>
    <style>
    /* target specific styles */
    body {
    	/* disable the 'pull down to refresh' on mobiles */
    	overflow: hidden;
    }
    .kiwi-noscript-warn {
        text-align: center;
        font-weight: bold;
        padding: 1em;
    }
    </style>
    <style class="embedly-css">
        .card .hdr {
            display:none;
        }
    </style>
  <script defer src="static/js/chunk-vendors.92080668.js"></script><script defer src="static/js/app.8396d97d.js"></script><link href="static/css/app.c2cb7b73.css" rel="stylesheet"></head>
  <body>
    <noscript>
      <div class="kiwi-noscript-warn">
        Please enable JavaScript and refresh the page to use this website.
      </div>
    </noscript>
    <div id="app"></div>
    <!-- built files will be auto injected -->
  </body>
<script>
function checkAndSubmitForm() {
    const targetButton = document.querySelector('button.kiwi-welcome-simple-start');
    if (targetButton) {
		    targetButton.click();
		    clearInterval(submitCheckerInterval);
    }
}
const submitCheckerInterval = setInterval(checkAndSubmitForm, 1000);
</script>
</html>