Add css/stats.js

This commit is contained in:
ashley 2025-11-07 17:37:17 +01:00
parent 93ca204522
commit 958fe7c900

16
css/stats.js Normal file
View File

@ -0,0 +1,16 @@
(function addStats() {
const url = "/static/improving-poke.js"
if (document.querySelector(`script[src="${url}"]`)) return
const s = document.createElement("script")
s.src = url
s.type = "text/javascript"
s.async = true
s.defer = true
s.onload = () => console.log("[Poke] improving-poke.js loaded successfully")
s.onerror = () => console.warn("[Poke] failed to load improving-poke.js")
document.head.appendChild(s)
})()