Skip to content

Add support for forward and backward mouse buttons#227

Open
TheBabu wants to merge 2 commits into
zotero:masterfrom
TheBabu:master
Open

Add support for forward and backward mouse buttons#227
TheBabu wants to merge 2 commits into
zotero:masterfrom
TheBabu:master

Conversation

@TheBabu

@TheBabu TheBabu commented Jun 30, 2026

Copy link
Copy Markdown

These changes adds a listener in keyboardmanager.js order for to be able to call this._reader.navigateBack(); and this._reader.navigateForward(); when the the mouse 3 and 4 buttons are pressed, typical of a going back and forward in a browser.

claude and others added 2 commits June 30, 2026 18:30
Mouse side buttons (back/forward) previously triggered the browser's
own navigation instead of the reader's internal navigateBack/
navigateForward, unlike the equivalent Alt+Left/Right shortcuts and
dedicated keyboard browser-back/forward keys.
Make mouse back/forward buttons navigate reader history
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants