Comments (5)
Try to debug DOM event listeners, to see wich functions takes control
from js-dos.
Hi, js-dos dos not hijacks the navigation why do you think so?
from js-dos.
Hi :). If you go to this URL: https://staging--quentin-xyz.netlify.app/ and you click on a few different icons, you will be able to use the mouse buttons (back and forward) to navigate the history. However as soon as you open the menu on the top left and click on "Another World" the back and forward functionality from the hardware mouse ceases working (But the history itself is intact as you can use the browsers GUI back and forward, which led me to believe that it was an issue with JS-Dos or more probably emulations-ui having exclusive control of the hardware).
EDIT: You may have noticed that I overlayed the initial JS-Dos logo with a custom boot screen to match the theme of the OS otherwise it's too jarring, I fully intend on crediting JS-Dos in that initial screen but have stopped developing it for now in case the history is a bug I cannot fix)
from js-dos.
Ok, so this issue is about hardware mouse buttons? This can be because js-dos do prevent-default for mouse buttons to hide browser context menu, but this only should happen when the target of event is div with js-dos
from js-dos.
Yes that would make sense but it seems to happen once and only when JS-Dos has initialized, and then even if JS-Dos is unmounted it does not want to give back mouse previous/next controls.
While I cannot right click when focusing on the JS dos windows, I can right click outside of it. I can also use alt+left arrow to navigate the history so it all seems a bit strange.
I also previously tried to recompile emulation-ui and JS-Dos having removed references to mouse events, but I must have missed something as that did not fix it.
from js-dos.
Related Issues (20)
- Running Win95 image gives error loading operating system HOT 1
- Can js-dos run locally under node? HOT 1
- Question regarding persisted info HOT 2
- How can i add "active" style when clicking on a virtual button HOT 3
- Vanilla js-dos v7.x loses saved changes after 3rd / 4th persist HOT 4
- This is a report on the results of testing jsdos v8.x. HOT 2
- No sound in iOS Safari 17.3 (mobile) HOT 1
- Issue upon extracting bundle over 2gb HOT 7
- Freeze after 1 second of jsdos loading HOT 6
- dosbox-x can't start when 'keyboardlayout=de'
- Backport emulators-ui to v8 HOT 5
- How to implement the right button function of the mouse on a mobile touch screen HOT 1
- mount directory to cdrom doesn't work HOT 10
- Large file ROMs do not work in iOS Safari browser HOT 2
- [Feature] Save a game locally without the need for registration (guest) HOT 1
- [Question] Can I upload game image files for Windows 95 to cloud storage? HOT 1
- Dosbox-X Freeze by command help /all
- I found an issue where mouse lock does not work in WeChat PC browser; despite my attempts, document.pointerLockElement remains null. HOT 1
- I have some DOS games with inaccurate mouse positioning. Can this issue only be resolved by modifying mouse locking? Can modifying the emulator's source code solve the problem? HOT 4
- I have a DOS game, and an error occurs when calling the local save file. What could be the cause? HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from js-dos.