Skip to content

Commit

Permalink
[+] Easter Egg for mikaela_khara
Browse files Browse the repository at this point in the history
  • Loading branch information
LS-KR committed Oct 23, 2024
1 parent 4776251 commit 15cff9f
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
Binary file added public/img/ferris-wheel.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 13 additions & 0 deletions src/logic/easterEgg.ts
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,19 @@ export function handleEasterEgg(userid: string) {
}, false)
}
}
if ((userid == "mikaela_khara")) {
const summaries = document.getElementsByTagName("summary")
for (const v of summaries) {
console.log(v)
v.addEventListener('click', (e) => {
console.log("summary" + e)
if (!localStorage.getItem('mikaela_khara_ferris')) {
localStorage.setItem('mikaela_khara_ferris', '間關鶯語花底滑')
toast('永乐桥上的风景', '连绵不断的河流,像生命本身一样无法回头……', 'ferris-wheel.png', undefined, 64, 64, undefined);
}
})
}
}
if (userid == "shihai4h") {
scheduledTask(30000, () => {
if ((window.location.pathname == "/profile/shihai4h/") || (window.location.pathname == "/profile/shihai4h")) {
Expand Down

0 comments on commit 15cff9f

Please sign in to comment.