Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Easter Egg not triggering (spoiler) #22

Open
nethe550 opened this issue Apr 11, 2020 · 2 comments
Open

Easter Egg not triggering (spoiler) #22

nethe550 opened this issue Apr 11, 2020 · 2 comments

Comments

@nethe550
Copy link

The Easter Egg which is triggered by addEventListener("keydown", Konami.code(toggle3D)); in 3d-fun.js doesn't seem to trigger when the appropriate combination of keys is entered. (Up, Up, Down, Down, Left, Right, Left, Right, B, A)

Tried to trigger the Easter Egg in Firefox Developer Edition (v76.0b3) and Google Chrome (v80.0.3987.163) but was unsuccessful.

My guess is that some file isn't being loaded / loaded properly, causing the easter egg trigger to not load.

Other notes:

  • if (event.keyCode === 66 || event.keyCode === 65) {event.preventDefault();} seems to work fine for Firefox (sign that konami.js is being loaded correctly, therefore that the key sequence is loaded)
  • BrowserFS fails to initialize in Firefox, which might have an impact on script loading?
@1j01
Copy link
Owner

1j01 commented Apr 12, 2020

Make sure the desktop is focused. (Or Paint or Minesweeper, for different effects.)

If that doesn't work, is there any error in the console?

@nethe550
Copy link
Author

It seems to work in Minesweeper and Paint, but not the desktop.
I wonder if the folder-view div is getting in the way of actually focusing the desktop div?
Simply deleting it in the inspector doesn't seem to work.


In console, it has an error about BrowserFS failing to intialize:

uncaught exception: Error: EACCES: Permission denied.  (filesystem-setup.js:46:3)
    <anonymous> filesystem-setup.js:46
    configure browserfs.ts:90
    getFileSystem browserfs.ts:162
    store IndexedDB.ts:247
    onErrorHandler IndexedDB.ts:42
    (Async: EventHandlerNonNull)
    IndexedDBStore IndexedDB.ts:154
    IndexedDBFileSystem IndexedDB.ts:245
    Create IndexedDB.ts:219
    wrappedCb backends.ts:31
    checkOptions util.ts:252
    Create backends.ts:35
    finish browserfs.ts:141
    getFileSystem browserfs.ts:175
    getFileSystem browserfs.ts:155
    forEach self-hosted:225
    getFileSystem browserfs.ts:151
    configure browserfs.ts:85
    <anonymous> filesystem-setup.js:16

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants