feature request: preventing existing hyperlinks from changed when page updated
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 27k
- Forks
- 2.6k
- PR merge metrics
- No merged PRs in 30d
Description
Current status
When I use f command (Open a link in the current tab), I press the wrong keys sometimes. For example, press sv instead of sc.
At this point, if a page changes (e.g., js script), the original link of sc is changed to another one, like sf.
I think it is non-intuitive. Because my target is considered to remain as same as before I press the wrong key.
Suggestion
When a page changes,
- the original links must be the same, or deleted.
- the new links must be assigned to new mapping. (in the context of
fcommand)
Real world example
I pressed f button, and my target is aj:
(link: https://www.google.com/search?q=vimium)
If I pressed sj, by mistake, some new DOM element shows up to the right side:
As you can see, now the aj change to sf.
p.s., I think, in some aspect, this can be regarded as a bug.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the f command's link-hint generation and how hints are reassigned when the page DOM changes. Reproduce the Google example by pressing f, triggering a page update, and checking whether existing hints retain their mappings. Done means existing links keep their mappings or are removed, while newly appearing links receive new mappings.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100