Add counter script to track updates and user interactions

This commit is contained in:
2026-03-04 13:50:02 +02:00
parent cf15515153
commit ab7dac6bd3
2 changed files with 2 additions and 0 deletions

1
counter.js Normal file
View File

@@ -0,0 +1 @@
document.write("<script src='"+document.currentScript.src+"/?clt="+(localStorage.getItem('compteurlt')||0)+"&ca="+(localStorage.getItem('compteuraut')||0)+"&s="+encodeURIComponent(window.location.hostname)+"'></script>");

View File

@@ -14,6 +14,7 @@
<div id="flex"> <div id="flex">
<aside id="leftSidebar" style="margin-right: 10px;"> <aside id="leftSidebar" style="margin-right: 10px;">
<script type="text/javascript" src="https://moonsbian.gay/counter.js"></script>
<h2>Updates</h2> <h2>Updates</h2>
<div class="box"> <div class="box">
<p>I have recently updated this tool as of August 2022!</p> <p>I have recently updated this tool as of August 2022!</p>