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:
parent
920f828f25
commit
22cfed7d81
1 changed files with 3 additions and 2 deletions
|
@ -42,8 +42,6 @@
|
|||
sandcatUrls.push(`https://matdoes.dev/sandcats/${i}.jpg`)
|
||||
}
|
||||
|
||||
let lowestSandcatPosition = 0
|
||||
|
||||
const sandcatContainerEl = document.createElement('div')
|
||||
sandcatContainerEl.style.position = 'fixed'
|
||||
sandcatContainerEl.style.top = '0'
|
||||
|
@ -111,6 +109,9 @@
|
|||
if (defaultCopyrightText === undefined) defaultCopyrightText = copyrightEl.textContent as string
|
||||
let copyrightText = defaultCopyrightText
|
||||
|
||||
const titleEl = document.getElementsByTagName('title')[0]
|
||||
titleEl.textContent = content
|
||||
|
||||
if (/^(sand|samd)?(cat|cta|car)(doesdev)?$/.test(content)) {
|
||||
sentence1 = 'meow meow, mew meow meow mrrp meow nyaa :3'
|
||||
sentence2 = 'meeeoooww ^-^ purr~ meow meow mrrp meow nya meow nyaaa meow nyaa nyaa :3'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue