Update html/watch.ejs

This commit is contained in:
ashley 2025-11-07 15:44:46 +01:00
parent 29f78bfbb7
commit 93ca204522

View File

@ -4118,9 +4118,27 @@ if (userID) {
const aud = document.getElementById("aud");
const vid = document.getElementById("video");
</script>
<script>
(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)
})()
</script>
<noscript>