Skip to content

Commit a043fc3

Browse files
authored
:P
1 parent 2c06191 commit a043fc3

File tree

1 file changed

+0
-23
lines changed

1 file changed

+0
-23
lines changed

index.html

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -152,29 +152,6 @@ <h2>how to find me</h2>
152152
setInterval(updatePentestTimer, 1000);
153153
</script>
154154

155-
<script>
156-
const DEFAULT_CERT_PROGRESS = 48;
157-
158-
function applyCertProgress(pct) {
159-
const clean = Math.max(0, Math.min(100, Number(pct) || 0));
160-
document.documentElement.style.setProperty("--cert-progress", clean + "%");
161-
const textEl = document.getElementById("cert-progress-text");
162-
if (textEl) textEl.textContent = clean + "%";
163-
}
164-
165-
applyCertProgress(DEFAULT_CERT_PROGRESS);
166-
167-
fetch("https://api.github.com/repos/coaglio/coaglio.github.io/m3t4.md")
168-
.then(r => r.json())
169-
.then(data => {
170-
if (!data.content) return;
171-
const decoded = atob(data.content);
172-
const match = decoded.match(/M3T4:\s*(\d{1,3})/i);
173-
if (match) applyCertProgress(match[1]);
174-
})
175-
.catch(() => {});
176-
</script>
177-
178155
</body>
179156
</html>
180157

0 commit comments

Comments
 (0)