mirror of
https://github.com/NeonGamerBot-QK/saahild.com.git
synced 2025-05-14 01:13:05 +00:00
Scripts definition
This commit is contained in:
parent
fcc04890fe
commit
04ee7a0588
2 changed files with 24 additions and 1 deletions
|
@ -6,10 +6,13 @@ export function runTitle() {
|
|||
if(document.title !== 'Come Back :(') {
|
||||
title0 = document.title
|
||||
}
|
||||
window.document.documentElement.className = "duration-500 ease-in-out "
|
||||
if (document.hasFocus()) {
|
||||
document.title = title0 || "Saahild.com"
|
||||
window.document.documentElement.style.filter = ""
|
||||
} else {
|
||||
document.title = 'Come Back :('
|
||||
window.document.documentElement.style.filter = "blur(30px)"
|
||||
}
|
||||
}, 200)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue