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

Support middle-click on history items #975

Merged
merged 1 commit into from
Mar 5, 2023
Merged

Conversation

jayeheffernan
Copy link
Contributor

This PR adds some basic support for middle-clicking on links in the history panel.

If the user has the setting "Mouse > Bookmarks actions > Middle-click on the bookmark" set to "open in new tab", so that middle-clicking a bookmark opens it in a new tab without navigating away from the bookmarks panel or resetting the search input, then middle-click will behave the same way in the bookmarks panel.

As referenced:

...middle-clicking these items currently does nothing.

Ideally the extension would support a range of mouse settings for the history panel, as it does for the bookmarks panel. I've not implemented that here though. Seems to me that a user would rarely want the on-click behavior of history items to be different to that of bookmarks, so the approach here is just to pull from the bookmarks' settings.

@mbnuqw
Copy link
Owner

mbnuqw commented Mar 5, 2023

Thanks!

@mbnuqw mbnuqw merged commit 7db50c3 into mbnuqw:v5 Mar 5, 2023
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

Successfully merging this pull request may close these issues.

2 participants