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

Enter to launch games doesn't seem to work #77

Open
Thespikedballofdoom opened this issue Feb 8, 2023 · 3 comments
Open

Enter to launch games doesn't seem to work #77

Thespikedballofdoom opened this issue Feb 8, 2023 · 3 comments
Labels
JS JS tweaks

Comments

@Thespikedballofdoom
Copy link

It doesn't seem to launch games, only goes to their library page.

@Jonius7 Jonius7 added the JS JS tweaks label Feb 9, 2023
@Jonius7
Copy link
Owner

Jonius7 commented Feb 9, 2023

I've got it to work but it also "greyscreens" the library, and I can't figure out why
The only error I have to go off is: Uncaught TypeError: Cannot read property 'ownerDocument' of undefined

If you do want to see it: change fixes.txt line 30 to:
switch (t) {~~case 38: case 13: return this.RunApp(b.OX.currentGameListSelection.nAppId), void e.preventDefault();case 38:

@Jonius7
Copy link
Owner

Jonius7 commented Feb 21, 2023

the error lies in using the JavaScript window.location.href as I now cannot use redirects without "greyscreening" the library as well.
I have tried window.replace, history.push all result in the same thing.

Unless I can find another way this JS tweak is broken

@Thespikedballofdoom
Copy link
Author

Rip

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

No branches or pull requests

2 participants