Skip to content

Add support for middle click to close tabs #9

Closed

Description

@0xCUB3

On mice, if you click the scroll wheel, on basically every browser, it will close the tab that you are hovering over. Would be a cool addition!

Activity

  1. Vincent-vst commented on Mar 30, 2023

    @Vincent-vst
    Contributor

    if the dev is interested in adding this. I believe it can be done like so :

    window.onmousedown = (e) => {
        if (e.button === 1) {
            handleBrowserControl("close")
        }
    }
  2. LuanderFarias commented on Mar 30, 2023

    @LuanderFarias
    Member

    Nice feature!! gonna add it soon. Also ty @Vincent-vst for the code! you always help a lot, if you want to do a pr with that update i'm gonna thankfully approve it! than you name can be marked on this repo :)

  3. added
    enhancement
    on Mar 30, 2023
  4. Vincent-vst commented on Mar 31, 2023

    @Vincent-vst
    Contributor

    👍 ok, I'm working on it !

  5. Henry-Hiles commented on Apr 17, 2023

    @Henry-Hiles
    Contributor

    Should this be closed now that the PR is merged?

  6. LuanderFarias commented on Apr 17, 2023

    @LuanderFarias
    Member

    oh yeah, sorry.

  7. LuanderFarias commented on Apr 22, 2023

    @LuanderFarias
    Member

    gonna reopen this cause this is a problem that get back in this new version :(

  8. LuanderFarias commented on May 11, 2023

    @LuanderFarias
    Member

    Fixed again!! coming on the next update :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancement

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions