Ademking / BetterViewer

a replacement for the image viewing mode built into Firefox and Chrome-based web browsers.
MIT License
247 stars 19 forks source link

Alt + Left not working on Chrome to go to previous page #55

Open thiagobraga opened 1 year ago

thiagobraga commented 1 year ago

Describe the bug If I open an image in a tab that was already open, creating navigation history, I can't get back to the previous page using browser shortcut Alt + Left when seeing the image with BetterViewer.

To Reproduce

  1. Visit any site, for example: https://unsplash.com
  2. Then paste a direct URL to a image in the same tab, e.g.: https://play-lh.googleusercontent.com/V_P-I-UENK93ahkQgOWel8X8yFxjhOOfMAZjxXrqp311Gm_RBtlDXHLQhwFZN8n4aIQ
  3. Try to go back to previous page using keyboard shortcut Alt + Left
  4. Nothing happens

Expected behavior Go back to previous page normally.

Additional context You can click "Back" button on browser to go to previous page then "Forward" to return to the image again, it works normally. It doesn't work with the keyboard shortcut.

Desktop

Metacor commented 1 year ago

I believe BetterViewer currently disables all default browser hotkeys for pages its loaded on.

This was fixed with #41, which only disables the default functionality for keybinds that are set in the custom hotkeys section, all of which can be disabled.

Unfortunately this change isn't in the released version and it's been almost a year since that pull request was accepted, I don't know when (or even if) the extension is going to be updated again, so to get the updates you will probably have to manually load the extension.

Ademking commented 9 months ago

Hello everyone, I deeply apologize for the lack of updates on BetterViewer. Due to commitments in my studies and work, I've been unable to dedicate time to the project recently. However, I believe in the potential of this extension and its community. I encourage anyone interested to contribute to the project. Thank you for your understanding and support.