Skip to content

Don't hijack standard browser behavior when trying to select a package name #626

@PeeHaa

Description

@PeeHaa

When going to a package and clicking on the package name or even worse trying to select just the name (without the require command) the default browser behavior (selecting just the highlighted text) is hijacked.

select hijack

This is really annoying because I more often just need the package name instead of the require command. Overriding default browser behavior like that is really annoying.

I realize I could try selecting the text of the title instead, but I am conditioned to not being able to sanely do that, because it may be a link. Which is also the case here. Trying to select the text of the title may result in an accidental click instead.

I am willing to PR this as I assume it should be an easy "fix", but I want to make sure I am not the only one annoyed by this first.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions