Skip to content

Commit 4cbc147

Browse files
author
Ocean Thunder
committed
manual view counter lmao
1 parent 7464b90 commit 4cbc147

1 file changed

Lines changed: 10 additions & 10 deletions

File tree

public/index.html

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ <h2>Welcome to my website<span id="emoji">zx</span></h2>
5858
<h3><span id="emoji">c</span> Stats<span id="emoji">z</span></h3>
5959
<p>Updated: 21/1/2026</p>
6060
<p>Created: 27/12/2025</p>
61-
<p>Visits: <span id="v-count">...</span></p>
61+
<p>Visits: <span id="v-count">1032</span></p>
6262
</main>
6363
</div>
6464

@@ -67,15 +67,15 @@ <h3><span id="emoji">c</span> Stats<span id="emoji">z</span></h3>
6767

6868
<footer>&#169; 2025 oceanthunder. This site is&nbsp;<a href="https://github.com/oceanthunder/oceanthunder.github.io"> open source</a>!</footer>
6969

70-
<script>
71-
(function() {
72-
fetch('https://oceanthunder.goatcounter.com/counter/TOTAL.json')
73-
.then(response => response.json())
74-
.then(data => {
75-
document.getElementById('v-count').innerText = data.count;
76-
})
77-
})();
78-
</script>
70+
<!-- <script> -->
71+
<!-- (function() { -->
72+
<!-- fetch('https://oceanthunder.goatcounter.com/counter/TOTAL.json') -->
73+
<!-- .then(response => response.json()) -->
74+
<!-- .then(data => { -->
75+
<!-- document.getElementById('v-count').innerText = data.count; -->
76+
<!-- }) -->
77+
<!-- })(); -->
78+
<!-- </script> -->
7979

8080
<script data-goatcounter="https://oceanthunder.goatcounter.com/count"
8181
async src="https://gc.zgo.at/count.js"></script>

0 commit comments

Comments
 (0)