1
0
Fork 0
mirror of https://github.com/mat-1/matdoesdev.git synced 2025-08-02 23:44:39 +00:00

also change the title el

This commit is contained in:
mat 2024-06-24 05:14:24 +00:00
commit 22cfed7d81

View file

@ -42,8 +42,6 @@
sandcatUrls.push(`https://matdoes.dev/sandcats/${i}.jpg`) sandcatUrls.push(`https://matdoes.dev/sandcats/${i}.jpg`)
} }
let lowestSandcatPosition = 0
const sandcatContainerEl = document.createElement('div') const sandcatContainerEl = document.createElement('div')
sandcatContainerEl.style.position = 'fixed' sandcatContainerEl.style.position = 'fixed'
sandcatContainerEl.style.top = '0' sandcatContainerEl.style.top = '0'
@ -111,6 +109,9 @@
if (defaultCopyrightText === undefined) defaultCopyrightText = copyrightEl.textContent as string if (defaultCopyrightText === undefined) defaultCopyrightText = copyrightEl.textContent as string
let copyrightText = defaultCopyrightText let copyrightText = defaultCopyrightText
const titleEl = document.getElementsByTagName('title')[0]
titleEl.textContent = content
if (/^(sand|samd)?(cat|cta|car)(doesdev)?$/.test(content)) { if (/^(sand|samd)?(cat|cta|car)(doesdev)?$/.test(content)) {
sentence1 = 'meow meow, mew meow meow mrrp meow nyaa :3' sentence1 = 'meow meow, mew meow meow mrrp meow nyaa :3'
sentence2 = 'meeeoooww ^-^ purr~ meow meow mrrp meow nya meow nyaaa meow nyaa nyaa :3' sentence2 = 'meeeoooww ^-^ purr~ meow meow mrrp meow nya meow nyaaa meow nyaa nyaa :3'