Update html/watch.ejs
This commit is contained in:
parent
29f78bfbb7
commit
93ca204522
@ -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>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user