philc / philc/vimium

Custom shortcuts seem to be sent to the website as well

Open
#4,579 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
27k
Forks
2.6k
PR merge metrics
No merged PRs in 30d

Description

Describe the bug

When I use a custom shortcut for changing tabs it seem that my shortcut is sent to the website as well.

To Reproduce

Steps to reproduce the behavior:

  1. Put this into your custom shortcut config:
unmap <a-h>
unmap <a-l>
map <a-l> nextTab
map <a-h> previousTab
  1. Goto some wikipedia page
  2. Press alt+h
  3. Go back to the tab with the wiki site and inspect changes

The shorcut a-h on the wiki page led you to the history of the wiki site.

Browser and Vimium version
Chrome Version 131.0.6778.85 (Official Build) (64-bit)
Latest Arch linux
Vimium 2.1.2

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue in Chrome using the custom shortcut configuration and the linked Wikipedia page, then trace the keyboard shortcut handling entry point. Confirm the fix by verifying that mapped tab shortcuts still change tabs without also triggering the corresponding website action.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.